[Python-ideas] syntax for set

Ben Finney ben+python at benfinney.id.au
Tue Nov 16 01:19:04 CET 2010

Terry Reedy <tjreedy at udel.edu> writes:

> The *only* glitch is the lack of an empty set notation.

It's a very small glitch, especially because ‘set()’ is so few
characters. I see no pressing need to have syntactic sugar for that.

 \       “Crime is contagious… if the government becomes a lawbreaker, |
  `\          it breeds contempt for the law.” —Justice Louis Brandeis |
_o__)                                                                  |
Ben Finney

More information about the Python-ideas mailing list