On 06.11.12 14:01, Nick Coghlan wrote: > Python, on the other hand, is able to preserve primarily left to right > evaluation in this case with only the far right hand expression needing > to be evaluated out of order. I'm surprised, but it is really so. >>> {}[print('foo')] = print('bar') bar foo I was expecting "foo" before "bar". Another counterintuitive (and possible wrong) example: >>> {print('foo'): print('bar')} bar foo {None: None}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4