A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/110919.html below:

[Python-Dev] Why are there no 'set' and 'frozenset' types in the 'types' module?

[Python-Dev] Why are there no 'set' and 'frozenset' types in the 'types' module? [Python-Dev] Why are there no 'set' and 'frozenset' types in the 'types' module?Benjamin Peterson benjamin at python.org
Mon Apr 25 16:02:20 CEST 2011
2011/4/25 haael <haael at interia.pl>:
>
>> Because there's no reason to include them, since they are already in
>> the root (builtins) namespace.
>>
>> You'll notice that in Python 3, the "types" module only contains types
>> which are not obviously accessed through easier means:
>
>
> OK, makes sense, but in this case it would be handy to have some list of all
> possible built-in types. I was just creating one and I nearly missed sets.
> If an entry in 'types' module is too much, there should be some
> comprehensive list in the documentation at least.

http://docs.python.org/dev/library/stdtypes


-- 
Regards,
Benjamin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4