https://github.com/python/cpython/commit/901a971e161e060bd95f3cf3aeebe8b48d6e6dac
commit: 901a971e161e060bd95f3cf3aeebe8b48d6e6dac
branch: main
author: Raymond Hettinger <[email protected]>
committer: ambv <[email protected]>
date: 2024-01-10T17:23:40+01:00
summary:
gh-113625: Align object addresses in the Descriptor HowTo Guide (#113894)
files:
M Doc/howto/descriptor.rst
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst
index 87274a5133d1cf..75346f2c7618c2 100644
--- a/Doc/howto/descriptor.rst
+++ b/Doc/howto/descriptor.rst
@@ -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!
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]