From: InSync <122007197+InSyncWithFoo@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:59:24 +0000 (+0700) Subject: datamodel: Fix a typo in ``object.__init_subclass__`` (#111599) X-Git-Tag: v3.13.0a3~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a47353d587b78bb5501b21343d9bca739c49a43a;p=thirdparty%2FPython%2Fcpython.git datamodel: Fix a typo in ``object.__init_subclass__`` (#111599) --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 62e3ddab7599..ca29a3712dfa 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::