From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 10 Jan 2024 17:32:54 +0000 (+0100) Subject: [3.12] gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894... X-Git-Tag: v3.12.2~199 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3fc45e6c4e31fe817e91ebeeb5f7dc8afc6c6c13;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894) (#113922) gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894) (cherry picked from commit 901a971e161e060bd95f3cf3aeebe8b48d6e6dac) Co-authored-by: Raymond Hettinger --- diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 41ace7c208d2..1346b0d13514 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst @@ -1240,7 +1240,7 @@ instance:: >>> 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!