mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 18:13:36 +07:00
GitOrigin-RevId: 2f6eb873d6321ef00d293377ec2c97195f72da21
14 lines
517 B
Python
14 lines
517 B
Python
class MyType1(type):
|
|
def __instancecheck__(cls, instance):
|
|
return True
|
|
|
|
|
|
class MyType2(type):
|
|
def __instancecheck__<warning descr="Signature of method 'MyType2.__instancecheck__()' does not match signature of the base method in class 'type'">(cls)</warning>:
|
|
return True
|
|
|
|
|
|
class MyType3(type):
|
|
def __instancecheck__<warning descr="Signature of method 'MyType3.__instancecheck__()' does not match signature of the base method in class 'type'">(cls, foo, bar)</warning>:
|
|
return True
|