diff options
author | Zach Mitchell <zmitchell@users.noreply.github.com> | 2018-06-02 14:29:47 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2018-06-02 14:29:47 (GMT) |
commit | 00818c8ffd657f9ec727e366bfffd9c2135fa5ab (patch) | |
tree | 185084238dbad9531cde41195a40d80c7af06c16 | |
parent | b5c246f833d95991fed728c3845176dd661cd5ea (diff) | |
download | cpython-00818c8ffd657f9ec727e366bfffd9c2135fa5ab.zip cpython-00818c8ffd657f9ec727e366bfffd9c2135fa5ab.tar.gz cpython-00818c8ffd657f9ec727e366bfffd9c2135fa5ab.tar.bz2 |
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 ...".
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 855f241..b6a6d48 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 |