builtin set literal
Alan Isaac
aisaac at american.edu
Tue Feb 20 14:03:58 EST 2007
More information about the Python-list mailing list
Tue Feb 20 14:03:58 EST 2007
- Previous message (by thread): builtin set literal
- Next message (by thread): builtin set literal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Rubin wrote:
> There's even a sentiment in some pythonistas to get rid of the [] and {}
> notations for lists and dicts, using list((1,2,3)) and dict((1,2),(3,4))
> for [1,2,3] and {1:2, 3:4} respectively.
Well then for consistency they must want tuple((1,2,3)) for (1,2,3).
Oh oh, that must be tuple(tuple((1,2,3))), no wait ...
Alan Isaac
- Previous message (by thread): builtin set literal
- Next message (by thread): builtin set literal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list