https://github.com/python/cpython/commit/3fc45e6c4e31fe817e91ebeeb5f7dc8afc6c6c13 commit: 3fc45e6c4e31fe817e91ebeeb5f7dc8afc6c6c13 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ambv <luk...@langa.pl> date: 2024-01-10T18:32:54+01:00 summary:
[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 <rhettin...@users.noreply.github.com> files: M Doc/howto/descriptor.rst diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 41ace7c208d2c9..1346b0d13514c2 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst @@ -1240,7 +1240,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 -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com