Changes between Initial Version and Version 1 of Ticket #11622, comment 31
- Timestamp:
- Jun 17, 2014, 1:54:17 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11622, comment 31
initial v1 14 14 # suppose you intend this 15 15 b = a == some_constant 16 # but instead you type this 16 # but instead you type this, which is not a syntax error 17 17 b = a = some_constant 18 # the "yoda condition" form would be a syntax error18 # on the other hand, the "yoda condition" form would be a syntax error 19 19 b = some_constant = a 20 20 # however, using parenthesis would result in a syntax error as well