Skip to content

Commit d577225

Browse files
[3.12] datamodel: Fix a typo in object.__init_subclass__ (GH-111599) (#114004)
datamodel: Fix a typo in ``object.__init_subclass__`` (GH-111599) (cherry picked from commit a47353d) Co-authored-by: InSync <[email protected]>
1 parent b9e15be commit d577225

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
@@ -2303,7 +2303,7 @@ class defining the method.
23032303
this method is implicitly converted to a class method.
23042304

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

0 commit comments

Comments
 (0)