builtin set literal

Paul Rubin http
Fri Feb 16 13:36:37 EST 2007


Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:
> 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.

Actually that would be dict(((1,2), (3,4))), of course.



More information about the Python-list mailing list