On 5/2/06, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > > I think Guido had the best solution. Use set() for empty sets, use {} > for empty dicts, use {genexp} for set comprehensions/displays, use > {1,2,3} for explicit set literals, and use {k1:v1, k2:v2} for dict > literals. We can always add {/} later if demand exceeds distaste.
Presumably {1, 2, 3: 4} would yield a syntax error? n _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com