[Python-ideas] More on set literals
Guido van Rossum
guido at python.org
Sat Jan 26 18:53:15 CET 2008
On Jan 26, 2008 9:43 AM, Christian Heimes <lists at cheimes.de> wrote:
> VanL wrote:
> > {{}} (or set()) # empty mutable set
> > {{1,2,3}} # set literal
>
> {{ }} is ambiguous, hard to read and only one to three characters
> shorter than set() / set({}). -1 from me
Right. This is not even on the table.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-ideas
mailing list