mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
Even if there are no new-style parents, the fact of having a metaclass defined in a class is sufficient to treat it as a new-style class.
6 lines
57 B
Python
6 lines
57 B
Python
import six
|
|
|
|
|
|
class C(six.with_metaclass(type)):
|
|
pass
|