Skip to content

Generates error when staticmethod and classmethod decorators are both used#15118

Merged
JukkaL merged 6 commits intopython:masterfrom
jkchandalia:either_static_or_class
Apr 24, 2023
Merged

Generates error when staticmethod and classmethod decorators are both used#15118
JukkaL merged 6 commits intopython:masterfrom
jkchandalia:either_static_or_class

Conversation

@jkchandalia
Copy link
Copy Markdown
Contributor

Fixes #14506

@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks good.

@JukkaL JukkaL merged commit fe8873f into python:master Apr 24, 2023
@jkchandalia jkchandalia deleted the either_static_or_class branch April 24, 2023 22:50
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.

no error when marking a method as both staticmethod and classmethod

2 participants