]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] datamodel: Fix a typo in ``object.__init_subclass__`` (GH-111599) (#114005)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 12 Jan 2024 23:06:14 +0000 (00:06 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Jan 2024 23:06:14 +0000 (23:06 +0000)
datamodel: Fix a typo in ``object.__init_subclass__`` (GH-111599)
(cherry picked from commit a47353d587b78bb5501b21343d9bca739c49a43a)

Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
Doc/reference/datamodel.rst

index efa24acb5db5e047b4610fca9df845ece8544715..1f9bb82c8db8466ce28cf3f24278cc8b1d645619 100644 (file)
@@ -2286,7 +2286,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::