New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[improvement] Align object addresses in the Descriptor HowTo Guide #113625
Labels
docs
Documentation in the Doc dir
Comments
rhettinger
added a commit
to rhettinger/cpython
that referenced
this issue
Jan 10, 2024
ambv
pushed a commit
that referenced
this issue
Jan 10, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 10, 2024
…pythonGH-113894) (cherry picked from commit 901a971) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 10, 2024
…pythonGH-113894) (cherry picked from commit 901a971) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
ambv
pushed a commit
that referenced
this issue
Jan 10, 2024
ambv
pushed a commit
that referenced
this issue
Jan 10, 2024
Thanks for the report, this has now been fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
In the Functions and methods chapter of this wonderful guide there is an inconsistency between object addresses in the provided code examples and outputs.
Current outputs for
d.f
andd.f.__self__
are<bound method D.f of <__main__.D object at 0x00B18C90>>
and<__main__.D object at 0x1012e1f98>
respectively. These two addresses should in fact be identical.Linked PRs
The text was updated successfully, but these errors were encountered: