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
This code is not considered valid by mypy:
from abc import abstractmethod class Array(object): @property @abstractmethod def _length_(self) -> int: ... @_length_.setter @abstractmethod def _length_(self, value: int) -> None: ...
Output:
out/ex.py:4: error: Overloaded method has both abstract and non-abstract variants out/ex.py:7: error: Decorated property not supported
But, this code is valid:
Refs python/typeshed#6361
The text was updated successfully, but these errors were encountered:
Array
This is #1362, no?
Sorry, something went wrong.
It is related, but we have one more extra warning: Overloaded method has both abstract and non-abstract variants
Overloaded method has both abstract and non-abstract variants
Closing as a duplicate of #4165
No branches or pull requests
This code is not considered valid by mypy:
Output:
But, this code is valid:
Refs python/typeshed#6361
The text was updated successfully, but these errors were encountered: