mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
Python stubs use Python 3 syntax so it could be the case that a Python 2 class inherits a Python 3 class.
4 lines
149 B
Python
4 lines
149 B
Python
class MyType(type):
|
|
def __instancecheck__(self, instance):
|
|
<selection>return super(MyType, self).__instancecheck__(instance)</selection>
|