Skip to content

Commit a47353d

Browse files
datamodel: Fix a typo in object.__init_subclass__ (#111599)
1 parent e97da86 commit a47353d

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
@@ -2308,7 +2308,7 @@ class defining the method.
23082308
this method is implicitly converted to a class method.
23092309

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

0 commit comments

Comments
 (0)