Skip to content

Commit 218eaca

Browse files
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 00818c8) Co-authored-by: Zach Mitchell <[email protected]>
1 parent dd851d6 commit 218eaca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ Custom classes
762762

763763
When a class attribute reference (for class :class:`C`, say) would yield a
764764
class method object, it is transformed into an instance method object whose
765-
:attr:`__self__` attributes is :class:`C`. When it would yield a static
765+
:attr:`__self__` attribute is :class:`C`. When it would yield a static
766766
method object, it is transformed into the object wrapped by the static method
767767
object. See section :ref:`descriptors` for another way in which attributes
768768
retrieved from a class may differ from those actually contained in its

0 commit comments

Comments
 (0)