[Python-Dev] Re: accumulator display syntax
Guido van Rossum
guido at python.org
Fri Oct 17 17:19:30 EDT 2003
More information about the Python-Dev mailing list
Fri Oct 17 17:19:30 EDT 2003
- Previous message: [Python-Dev] Re: accumulator display syntax
- Next message: [Python-Dev] accumulator display syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Again, why parens? Why not > > sum(<x for x in S>, start=5) > sum(<x for x in S>, 5) Because the parser doesn't know whether the > after S is the end of the <...> brackets or a binary > operator. (Others can answer your other questions.) --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Re: accumulator display syntax
- Next message: [Python-Dev] accumulator display syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list