blob: d97453e13b698a59666124e16c3509d918877f00 [file] [log] [blame]
Tor Norbye3a2425a2013-11-04 10:16:08 -08001class B:
2 def __init__(self):
3 pass
4
5 def __new__(self):
6 pass
7
8 def foo(self, a):
9 pass
10
11
12class C(B):
13 def __init__(self, a): # different but ok because __init__ is special
14 pass
15
16 def __new__(self, p, q): # different but ok because __new__ is special
17 pass
18
19 def foo<warning descr="Signature of method 'C.foo()' does not match signature of base method in class 'B'">(self, s, t)</warning>:
20 pass