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/039278.html below:

[Python-Dev] accumulator display syntax

[Python-Dev] accumulator display syntax [Python-Dev] accumulator display syntaxSkip Montanaro skip at pobox.com
Wed Oct 22 08:48:52 EDT 2003
    Neil> Another nice thing is that we have tuple and dict comprehensions
    Neil> for free:

    Neil>   tuple(x for x in S)
    Neil>   dict((k, v) for k, v in S)
    Neil>   Set(x for x in S)

    Neil> Aside from the bit of syntactic sugar, everything is nice an
    Neil> regular.

Maybe in 3.0 the syntactic sugar for list comprehensions should disappear
then.

Skip

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