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/2015-February/138159.html below:

[Python-Dev] (no subject)

[Python-Dev] (no subject) [Python-Dev] (no subject)Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 11 21:15:46 CET 2015
Georg Brandl wrote:
> The call syntax part is a mixed bag: on the one hand it is nice to be
> consistent with the extended possibilities in literals (flattening),
> but on the other hand there would be small but annoying inconsistencies
> anyways (e.g. the duplicate kwarg case above).

That inconsistency already exists -- duplicate keys are
allowed in dict literals but not calls:

 >>> {'a':1, 'a':2}
{'a': 2}

-- 
Greg
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