mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 12:31:26 +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() |