8000 [3.12] gh-113625: Align object addresses in the Descriptor HowTo Guid… · python/cpython@3fc45e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fc45e6

Browse files
[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 901a971) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>

1 file changed

+1
-1
lines changed

Doc/howto/descriptor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ instance::
12401240
<function D.f at 0x00C45070>
12411241
58EB
12421242
>>> d.f.__self__
1243-
<__main__.D object at 0x1012e1f98>
1243+
<__main__.D object at 0x00B18C90>
12441244

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

0 commit comments

Comments
 (0)
0