We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8debeed commit ab01497Copy full SHA for ab01497
Doc/reference/datamodel.rst
@@ -1971,7 +1971,7 @@ Customizing class creation
1971
--------------------------
1972
1973
Whenever a class inherits from another class, :meth:`~object.__init_subclass__` is
1974
-called on that class. This way, it is possible to write classes which
+called on the parent class. This way, it is possible to write classes which
1975
change the behavior of subclasses. This is closely related to class
1976
decorators, but where class decorators only affect the specific class they're
1977
applied to, ``__init_subclass__`` solely applies to future subclasses of the
0 commit comments