Skip to content

gh-88275: Add __init__ method to the example #120281

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Eclips4
Copy link
Member

@Eclips4 Eclips4 commented Jun 8, 2024

@Eclips4 Eclips4 requested a review from brandtbucher June 8, 2024 19:47
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels Jun 8, 2024
@Eclips4 Eclips4 added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Jun 8, 2024
Comment on lines +558 to +559
self.x = x
self.y = y
Copy link
Member

@picnixz picnixz Jun 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this, but the description above is about "class attributes" and not "instance attributes". I didn't check whether the pattern is legit or not but maybe check that the current code actually works? (or change the "class attributes" terminology which could be confusing).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@picnixz How does it look now?

@hugovk hugovk removed the needs backport to 3.12 only security fixes label Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants