mirror of
https://github.com/python/cpython.git
synced 2026-04-24 04:41:11 +00:00
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 00818c8ffd)
Co-authored-by: Zach Mitchell <zmitchell@users.noreply.github.com>
This commit is contained in:
parent
8e0573029f
commit
57f1f5b91b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue