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

Issue with @staticmethod Decorator #1420

Closed
Cethyri opened this issue Oct 7, 2019 · 1 comment
Closed

Issue with @staticmethod Decorator #1420

Cethyri opened this issue Oct 7, 2019 · 1 comment

Comments

@Cethyri
Copy link

Cethyri commented Oct 7, 2019

Same as the issue for microsoft's python-language-server: microsoft/python-language-server#208

methods with the @staticmethod decorator do not recognize type-wise that the first parameter is not self and therefore the same type as self

@davidhalter
Copy link
Owner

Thanks for the issue. It's unfortunately a long standing issue. It's the oldest open bug.

Duplicate of #735.

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

No branches or pull requests

2 participants