mirror of https://github.com/python/cpython
gh-113625: Align object addresses in the Descriptor HowTo Guide (#113894)
This commit is contained in:
parent
7049721835
commit
901a971e16
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue