Files
openide/python/testData/codeInsight/classMRO/DirectlyInstantiatedMetaclassAncestor.py
Mikhail Golubev f7da96db03 PY-27656 PY-27604 Exclude ancestors of metaclasses from class hierarchy
in case this relationship was created implicitly by inheriting an
instance of metaclass.

It also fixes warnings about the first parameter of SQLAlchemy model
methods being named "self" instead of "cls" since we no longer consider
these classes descendants of "type".
2018-01-11 12:45:08 +03:00

13 lines
125 B
Python

class MetaBase(type):
pass
class Meta(MetaBase):
pass
Base = Meta('Base', (), {})
class MyClass(Base):
pass