]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
datamodel: Fix a typo in ``object.__init_subclass__`` (#111599)
authorInSync <122007197+InSyncWithFoo@users.noreply.github.com>
Fri, 12 Jan 2024 22:59:24 +0000 (05:59 +0700)
committerGitHub <noreply@github.com>
Fri, 12 Jan 2024 22:59:24 +0000 (22:59 +0000)
Doc/reference/datamodel.rst

index 62e3ddab7599444826d57b4edd73da112d45b015..ca29a3712dfa386f38c2390911fc147d22737ce6 100644 (file)
@@ -2308,7 +2308,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::