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 0f8a264Copy full SHA for 0f8a264
2 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/good.py
+ def my_other_method(self):
0 commit comments