Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24ebaf6 commit 89c3601Copy full SHA for 89c3601
Doc/reference/datamodel.rst
@@ -1895,7 +1895,7 @@ Customizing class creation
1895
--------------------------
1896
1897
Whenever a class inherits from another class, :meth:`~object.__init_subclass__` is
1898
-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
1899
change the behavior of subclasses. This is closely related to class
1900
decorators, but where class decorators only affect the specific class they're
1901
applied to, ``__init_subclass__`` solely applies to future subclasses of the
0 commit comments