blob: 5863d5a0bd567b16238627e0bb23115b16635346 [file] [log] [blame]
Tor Norbye3a2425a52013-11-04 10:16:08 -08001class MyType1(type):
2 def __instancecheck__(cls, instance):
3 return True
4
5
6class MyType2(type):
7 def __instancecheck__<warning descr="Signature of method 'MyType2.__instancecheck__()' does not match signature of base method in class 'type'">(cls)</warning>:
8 return True
9
10
11class MyType3(type):
12 def __instancecheck__<warning descr="Signature of method 'MyType3.__instancecheck__()' does not match signature of base method in class 'type'">(cls, foo, bar)</warning>:
13 return True