blob: 82753b254177eda64541c810fdaa18ef3dc758cf [file] [log] [blame]
Tor Norbye3a2425a2013-11-04 10:16:08 -08001class B1:
2 def foo(self, *args, **kwargs):
3 raise NotImplementedError()
4
5
6class C1(B1):
7 def foo(self): # pass
8 pass
9
10
11class C2(B1):
12 def foo(self, arg1): # pass
13 pass
14
15
16class B3:
17 def foo(self, arg1, *args, **kwargs):
18 raise NotImplementedError()
19
20
21class C3(B3):
22 def foo<warning descr="Signature of method 'C3.foo()' does not match signature of base method in class 'B3'">(self, arg1, arg2=None)</warning>: # fail
23 pass