-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Suggestion: Having an @override decorator #1888
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
Comments
I think this would be more of a Python library/language rather than something particular to mypy. |
Yeah. Please use bugs.python.org or python-dev. |
No, python-ideas |
For future reference: There is a continuation, unfortunately without conclusion, at https://mail.python.org/pipermail/python-ideas/2016-July/041095.html . |
Hi, |
Is there any interest in providing an
@override
decorator for base classes that re-implement (override) the functions of abstract classes? It could be potentially helpful in distinguishing between the functions that are inherited vs. functions that are unique to a class.There seem to be rough implementations of such a decorator here - http://stackoverflow.com/questions/1167617/in-python-how-do-i-indicate-im-overriding-a-method.
The text was updated successfully, but these errors were encountered: