mixins are now possible even if some things are in the base class
This commit is contained in:
1 parent
f935d4ff53
commit
5f26d0c442
1 file changed
+2
@@ -189,6 +189,8 @@ class Parser(CachedModule):
|
|||||||
|
|
||||||
def is_in_base_classes(cls, name, comparison):
|
def is_in_base_classes(cls, name, comparison):
|
||||||
""" Base classes may contain the exact same object """
|
""" Base classes may contain the exact same object """
|
||||||
|
if name in mixin_funcs:
|
||||||
|
return False
|
||||||
try:
|
try:
|
||||||
mro = cls.mro()
|
mro = cls.mro()
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
|||||||
Reference in new issue
Block a user