mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +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>
|