Skip to content

Commit

Permalink
pythongh-113625: Align object addresses in the Descriptor HowTo Guide (
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger authored and aisk committed Feb 11, 2024
1 parent 548e52c commit 7a47d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/howto/descriptor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ instance::
<function D.f at 0x00C45070>

>>> d.f.__self__
<__main__.D object at 0x1012e1f98>
<__main__.D object at 0x00B18C90>

If you have ever wondered where *self* comes from in regular methods or where
*cls* comes from in class methods, this is it!
Expand Down

0 comments on commit 7a47d53

Please sign in to comment.