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/2017-December/151324.html below:

[Python-Dev] __init_subclass__ is a class method (Was: Make __class_getitem__ a class method)

[Python-Dev] __init_subclass__ is a class method (Was: Make __class_getitem__ a class method) [Python-Dev] __init_subclass__ is a class method (Was: Make __class_getitem__ a class method)Serhiy Storchaka storchaka at gmail.com
Fri Dec 15 18:31:52 EST 2017
16.12.17 00:48, Ivan Levkivskyi пише:
> Actually documentation 
> https://docs.python.org/3.6/reference/datamodel.html#customizing-class-creation 
> already says `classmethod object.__init_subclass__(cls)`
> I am not an expert in this, so I am not sure if the docs can be improved 
> here (maybe we can add how this works with C API?)

Sorry, I had wrote my previous message before reading the documentation, 
just after reading the sources. Now I have discovered that the special 
behavior of __init_subclass__ is already documented. I don't know 
whether it is needed to add something more.

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