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 e053f0e commit b099363Copy full SHA for b099363
Doc/reference/datamodel.rst
@@ -1904,7 +1904,7 @@ Customizing class creation
1904
--------------------------
1905
1906
Whenever a class inherits from another class, :meth:`~object.__init_subclass__` is
1907
-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
1908
change the behavior of subclasses. This is closely related to class
1909
decorators, but where class decorators only affect the specific class they're
1910
applied to, ``__init_subclass__`` solely applies to future subclasses of the
0 commit comments