[Python-ideas] More on set literals

Christian Heimes lists at cheimes.de
Sat Jan 26 18:43:09 CET 2008


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

Christian




More information about the Python-ideas mailing list