On Mar 19, 2006, at 7:42 PM, Guido van Rossum wrote: ... >> There seem to be other places where Python is beginning to require >> parens >> even though they aren't strictly necessary to resolve syntactic >> ambiguity. > > In the style guide only, I hope. The parens that are mandatory in a > few places *are* necessary to resolve ambiguity. Technically, I believe the first place where this did not apply was list comprehensions, back in 2.2, since (for example) [x, y for y, x in whatever] could have been syntactically disambiguated but (quite reasonably, IMHO) [(x,y) for y,x in whatever] was mandated instead. Alex
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