Skip to content

Commit cd8fd22

Browse files
[3.11] datamodel: Fix a typo in object.__init_subclass__ (GH-111599) (#114005)
datamodel: Fix a typo in ``object.__init_subclass__`` (GH-111599) (cherry picked from commit a47353d) Co-authored-by: InSync <[email protected]>
1 parent 2d184b2 commit cd8fd22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2286,7 +2286,7 @@ class defining the method.
22862286
this method is implicitly converted to a class method.
22872287

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

0 commit comments

Comments
 (0)