[Python-3000] Set literal
tjreedy at udel.edu
Thu Jan 31 04:04:54 CET 2008
"Christian Heimes" <lists at cheimes.de> wrote in message
news:fnr21h$6h5$1 at ger.gmane.org...
| Greg Ewing wrote:
| | Personally I'm more than happy to trade set comprehensions for
| frozen set literals. My code has more 'item in fixed_set' than sets. I
| can't remember a project where I've used frozenset() instead of a tuple.
| The name is too long.
I might have preferred 'fset' to 'frozenset'. But I presume the name is
So I might put 'fset=frozenset' at the top of a file where is gets used
More information about the Python-3000