We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
overridden-final-method
1 parent cb9dc79 commit d11b0c8Copy full SHA for d11b0c8
4 files changed
doc/data/messages/o/overridden-final-method/bad.py
@@ -0,0 +1,12 @@
1
+from typing import final
2
+
3
4
+class Base:
5
+ @final
6
+ def my_method(self):
7
+ pass
8
9
10
+class Subclass(Base):
11
+ def my_method(self): # [overridden-final-method]
12
doc/data/messages/o/overridden-final-method/details.rst
@@ -0,0 +1 @@
+The message can't be emitted when using Python < 3.8.
doc/data/messages/o/overridden-final-method/good.py
+ def my_other_method(self):
doc/data/messages/o/overridden-final-method/related.rst
+- `PEP 591 <https://peps.python.org/pep-0591/>`_
0 commit comments