[docs] Example values for dict()

Georg Brandl georg at python.org
Sun Oct 17 13:23:57 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 28.09.2010 18:27, schrieb Nate Vack:
> Hi all,
> 
> The docs on creating new dicts found here:
> 
> http://docs.python.org/library/stdtypes.html#dict
> 
> just warped my mind a little bit. They all create the dict {'one': 2,
> 'two', 3} -- creating {'one': 1, 'two': 2} would make a little more
> sense.

Hi Nate,

you're quite right, these examples are unnecessarily twisted.  I've
fixed them now in the development docs.

regards,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAky63M0ACgkQN9GcIYhpnLB77wCfVGoZWB35/z0SFBm0DPrJH2vw
stMAn3C0EPx0KTP9zMmBzcbDfmfEf4Ot
=nOWQ
-----END PGP SIGNATURE-----


More information about the docs mailing list