mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
15 lines
177 B
Python
15 lines
177 B
Python
import six
|
|
|
|
class MyType(type):
|
|
pass
|
|
|
|
class Parent(object):
|
|
def parent(self):
|
|
pass
|
|
|
|
|
|
class Child(six.with_metaclass(MyType, Parent)):
|
|
pass
|
|
|
|
|
|
Child().parent() |