]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in datamodel.rst (GH-6964)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 2 Jun 2018 14:53:30 +0000 (07:53 -0700)
committerGitHub <noreply@github.com>
Sat, 2 Jun 2018 14:53:30 +0000 (07:53 -0700)
This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...".
(cherry picked from commit 00818c8ffd657f9ec727e366bfffd9c2135fa5ab)

Co-authored-by: Zach Mitchell <zmitchell@users.noreply.github.com>
Doc/reference/datamodel.rst

index cc8dc958a80a62f7528df6ffa45b4806aa761dac..f3f9e5f00bfce6f6a84b98679b97456f84fb5d97 100644 (file)
@@ -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