Files
openide/python/testData/codeInsight/classMRO/SixWithMetaclassOnly.py
Andrey Vlasovskikh 8373787e76 Consider class foo(six.with_metaclass(bar)) as new-style class (PY-22806)
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.
2017-03-10 21:08:00 +03:00

6 lines
57 B
Python

import six
class C(six.with_metaclass(type)):
pass