From: Zach Mitchell Date: Sat, 2 Jun 2018 14:29:47 +0000 (-0400) Subject: Fix typo in datamodel.rst (GH-6964) X-Git-Tag: v3.8.0a1~1686 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00818c8ffd657f9ec727e366bfffd9c2135fa5ab;p=thirdparty%2FPython%2Fcpython.git Fix typo in datamodel.rst (GH-6964) This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...". --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 855f2412b139..b6a6d48862bc 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -768,7 +768,7 @@ Custom classes When a class attribute reference (for class :class:`C`, say) would yield a class method object, it is transformed into an instance method object whose - :attr:`__self__` attributes is :class:`C`. When it would yield a static + :attr:`__self__` attribute is :class:`C`. When it would yield a static method object, it is transformed into the object wrapped by the static method object. See section :ref:`descriptors` for another way in which attributes retrieved from a class may differ from those actually contained in its