Skip to content

Commit

Permalink
[3.11] gh-113625: Align object addresses in the Descriptor HowTo Guide (
Browse files Browse the repository at this point in the history
GH-113894) (#113923)

gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894)
(cherry picked from commit 901a971)

Co-authored-by: Raymond Hettinger <[email protected]>
  • Loading branch information
miss-islington and rhettinger authored Jan 10, 2024
1 parent 435e891 commit 6e21c59
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 @@ -1203,7 +1203,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 6e21c59

Please sign in to comment.