We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
__class__
class A: @property def __class__(self): return int @__class__.setter def __class__(self, __type): raise NotImplementedError() @property def blah(self): return int @blah.setter def blah(self, __type): raise NotImplementedError()
This fails like this:
$ pyflakes foo.py foo.py:6: redefinition of unused '__class__' from line 2
I included a 2nd property definition to show that it wasn't happening normally. (Seems to be a special situation for __class__
$ pyflakes --version 2.0.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This fails like this:
I included a 2nd property definition to show that it wasn't happening normally. (Seems to be a special situation for
__class__
The text was updated successfully, but these errors were encountered: