mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Treat methods of base class that raise NotImplementedError as abstract
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
class Abstract:
|
||||
def method(self):
|
||||
raise NotImplementedError()
|
||||
|
||||
class <weak_warning descr="Class Concrete must implement all abstract methods">Concrete</weak_warning>(Abstract):
|
||||
pass
|
||||
Reference in New Issue
Block a user