Files
openide/python/testData/stubs/MetaClass.py
Andrey Vlasovskikh 8af73b7185 Don't resolve to file-level '__metaclass__' in PyClass.getMetaClassExpression() (PY-12127)
This method is invoked during indexing and it shouldn't resolve
references extensively. Related to this issue, the return type of
PyClass.getMetaClassType() has been changed in order to be able to
return weak metaclass types.
2014-02-20 14:04:56 +04:00

14 lines
116 B
Python

class M(type):
pass
__metaclass__ = M
class C(object):
__metaclass__ = type
class D(object):
pass