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/2013-October/129293.html below:

[Python-Dev] type.__subclasses__() doesn't work

[Python-Dev] type.__subclasses__() doesn't work [Python-Dev] type.__subclasses__() doesn't workAntoine Pitrou solipsis at pitrou.net
Wed Oct 9 12:20:18 CEST 2013
Hello,

Just noticed the following quirk:

>>> type.__subclasses__()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: descriptor '__subclasses__' of 'type' object needs an argument

Yet it would be nice to know about the subclasses of type.

Regards

Antoine.


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