]> granicus.if.org Git - python/commitdiff
Fix typo in datamodel.rst (GH-6964)
authorZach Mitchell <zmitchell@users.noreply.github.com>
Sat, 2 Jun 2018 14:29:47 +0000 (10:29 -0400)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 2 Jun 2018 14:29:47 +0000 (07:29 -0700)
This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...".

Doc/reference/datamodel.rst

index 855f2412b139f9349e50c54e17e86e2b0a8522f2..b6a6d48862bc660246a9d01a0d41b563a4d8853f 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