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/2012-November/122693.html below:

[Python-Dev] performance of {} versus dict()

[Python-Dev] performance of {} versus dict() [Python-Dev] performance of {} versus dict()Richard Oudkerk shibturn at gmail.com
Wed Nov 14 17:42:39 CET 2012
On 14/11/2012 4:23pm, Serhiy Storchaka wrote:
> PEP 8 recommends:
>
> a_dict = dict(
>      x=1,
>      y=2,
>      z=3,
>      ...
> )
>
> and
>
> a_dict = {
>      'x': 1,
>      'y': 2,
>      'z': 3,
>      ...
> }

In which section?  I can't see such a recommendation.

--
Richard

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