summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorInSync <122007197+InSyncWithFoo@users.noreply.github.com>2024-01-12 22:59:24 (GMT)
committerGitHub <noreply@github.com>2024-01-12 22:59:24 (GMT)
commita47353d587b78bb5501b21343d9bca739c49a43a (patch)
tree831474dbe90c1795b2b720ed1ca4c26d49cf3c51 /Doc/reference
parente97da8677f7bbc6d970e230d334cd646ab662af1 (diff)
downloadcpython-a47353d587b78bb5501b21343d9bca739c49a43a.zip
cpython-a47353d587b78bb5501b21343d9bca739c49a43a.tar.gz
cpython-a47353d587b78bb5501b21343d9bca739c49a43a.tar.bz2
datamodel: Fix a typo in ``object.__init_subclass__`` (#111599)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 62e3dda..ca29a37 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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::