A Universe Set
jordan.nick at gmail.com
jordan.nick at gmail.com
Tue Oct 3 23:52:17 EDT 2006
Has the addition of a Universe Set object ever been suggested. Like U
= set(0), so that any object was a member of U? Maybe this gets into
some crazy Cantorian stuff since U is in U. But it seems like it would
be useful and would have a nice symmetry with emptyset:set([]), that
is:
for any object a:
"a in set([])" returns False
"a in set(0)" returns True
More information about the Python-list
mailing list