[docs] Example values for dict()

Nate Vack njvack at wisc.edu
Tue Sep 28 18:27:28 CEST 2010


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.

Cheers,
-Nate


More information about the docs mailing list