[Python-ideas] Possible method of distinguishing between set-literals, dict-literals, and odict-literals
Terry Reedy
tjreedy at udel.edu
Tue Jun 16 20:28:29 CEST 2009
>> When you read OrderedDict([('a', '1'),('b', '2'), ('c', '3')]),
OrderedDict({'a':1', 'b':'2', 'c':'3'}]
> How about ['a':'1', 'b':'2', 'c':'3']?
Nice Idea!
tjr
More information about the Python-ideas
mailing list