Skip to content
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

Simplifying static getattr calls #2396

Merged
merged 2 commits into from
Feb 14, 2024
Merged

Conversation

HalfWhitt
Copy link
Contributor

This is another kind-of-frivolous-but-why-not PR. Due to the magic of copy & paste, there are a few places where getattr is used even thought the attribute isn't dynamic or a reserved word / other syntax error. I've switched them to normal attribute access.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@HalfWhitt
Copy link
Contributor Author

Looks like I ran afoul of a Github connection issue.

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

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

Thanks - a nice bit of housekeeping!

@freakboy3742 freakboy3742 merged commit f370257 into beeware:main Feb 14, 2024
36 checks passed
@HalfWhitt HalfWhitt deleted the getattr branch February 14, 2024 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants