Sorry if I am asking the obvious, but why are the aliases of set types not
included in the 'types' module? I thought for a moment that they are just
classes, but no, they introduce themselves as built-in types, just like any
other standard Python type.
> print type(set([1, 2, 4]))
<type 'set'>
> print type(frozenset([3, 5]))
<type 'frozenset'>
Is it intentional, or is there some meaning behind this? If not, shouldn't they
be added to the module?
Regards,
Bartosz Tarnowski
---------------------------------------------------------------
Darmowy program do wypełniania PIT: http://linkint.pl/f2931
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com