[Python-checkins] Fix typo in datamodel.rst (GH-6964)

Miss Islington (bot) webhook-mailer at python.org
Sat Jun 2 10:53:34 EDT 2018


https://github.com/python/cpython/commit/57f1f5b91bcec2e2abe58627a27209676bb3ec6f
commit: 57f1f5b91bcec2e2abe58627a27209676bb3ec6f
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-06-02T07:53:30-07:00
summary:

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 ...".
(cherry picked from commit 00818c8ffd657f9ec727e366bfffd9c2135fa5ab)

Co-authored-by: Zach Mitchell <zmitchell at users.noreply.github.com>

files:
M Doc/reference/datamodel.rst

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index cc8dc958a80a..f3f9e5f00bfc 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



More information about the Python-checkins mailing list