A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/038911.html below:

[Python-Dev] Re: accumulator display syntax

[Python-Dev] Re: accumulator display syntax [Python-Dev] Re: accumulator display syntaxGuido van Rossum guido at python.org
Fri Oct 17 17:19:30 EDT 2003
> 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/)

More information about the Python-Dev mailing list

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