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

abc.abstractproperty is deprecated since 3.3 #266

Closed
sobolevn opened this issue Sep 13, 2022 · 0 comments · Fixed by #267
Closed

abc.abstractproperty is deprecated since 3.3 #266

sobolevn opened this issue Sep 13, 2022 · 0 comments · Fixed by #267

Comments

@sobolevn
Copy link
Member

Locations:

  1. @abc.abstractproperty

Docs: https://docs.python.org/3/library/abc.html#abc.abstractproperty

Instead one should use:

@property 
@abc.abstractmethod
def ...

I will send a PR to change this to a new API. Maybe there are reasons why it should stay as-is?

Found in python/mypy#13647

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 a pull request may close this issue.

1 participant