Skip to content

Commit

Permalink
[3.12] datamodel: Fix a typo in object.__init_subclass__ (pythonG…
Browse files Browse the repository at this point in the history
…H-111599) (python#114004)

datamodel: Fix a typo in ``object.__init_subclass__`` (pythonGH-111599)
(cherry picked from commit a47353d)

Co-authored-by: InSync <[email protected]>
  • Loading branch information
miss-islington and InSyncWithFoo authored Jan 12, 2024
1 parent b9e15be commit d577225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2303,7 +2303,7 @@ class defining the method.
this method is implicitly converted to a class method.

Keyword arguments which are given to a new class are passed to
the parent's class ``__init_subclass__``. For compatibility with
the parent class's ``__init_subclass__``. For compatibility with
other classes using ``__init_subclass__``, one should take out the
needed keyword arguments and pass the others over to the base
class, as in::
Expand Down

0 comments on commit d577225

Please sign in to comment.