Skip to content

Commit 7a47d53

Browse files
rhettingeraisk
authored andcommitted
pythongh-113625: Align object addresses in the Descriptor HowTo Guide (python#113894)
1 parent 548e52c commit 7a47d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/descriptor.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ instance::
12501250
<function D.f at 0x00C45070>
12511251

12521252
>>> d.f.__self__
1253-
<__main__.D object at 0x1012e1f98>
1253+
<__main__.D object at 0x00B18C90>
12541254

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

0 commit comments

Comments
 (0)