mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
10 lines
140 B
Python
10 lines
140 B
Python
class Foo:
|
|
def test(self): pass
|
|
|
|
class Foo2:
|
|
def test(self): pass
|
|
|
|
def x(p):
|
|
if isinstance(p, (Foo, Foo2)):
|
|
p.te<caret>
|