Skip to content

gh-138011: Clarify tutorial method object example code #138014

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

Merged
merged 3 commits into from
Aug 21, 2025

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Aug 21, 2025

x must be a MyClass instance for examples to work.


📚 Documentation preview 📚: https://cpython-previews--138014.org.readthedocs.build/

x must be a MyClass instance for examples to work.
@terryjreedy terryjreedy self-assigned this Aug 21, 2025
@terryjreedy terryjreedy added docs Documentation in the Doc dir skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Aug 21, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Aug 21, 2025
@terryjreedy
Copy link
Member Author

New version at https://cpython-previews--138014.org.readthedocs.build/en/138014/tutorial/classes.html#method-objects. It looks sufficient to me for the purpose.

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@terryjreedy terryjreedy merged commit 339f5da into python:main Aug 21, 2025
27 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Aug 21, 2025
@miss-islington-app
Copy link

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@terryjreedy terryjreedy deleted the tutclass branch August 21, 2025 15:02
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 21, 2025
…H-138014)

x must be a MyClass instance for examples to work.

---------
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
(cherry picked from commit 339f5da)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 21, 2025
…H-138014)

x must be a MyClass instance for examples to work.

---------
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
(cherry picked from commit 339f5da)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-app
Copy link

bedevere-app bot commented Aug 21, 2025

GH-138025 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Aug 21, 2025
@bedevere-app
Copy link

bedevere-app bot commented Aug 21, 2025

GH-138026 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Aug 21, 2025
terryjreedy added a commit that referenced this pull request Aug 21, 2025
) (#138026)

x must be a MyClass instance for examples to work.

---------

(cherry picked from commit 339f5da)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants