mixins are now possible even if some things are in the base class

This commit is contained in:
David Halter
2012-08-07 00:11:08 +02:00
parent f935d4ff53
commit 5f26d0c442

View File

@@ -189,6 +189,8 @@ class Parser(CachedModule):
def is_in_base_classes(cls, name, comparison):
""" Base classes may contain the exact same object """
if name in mixin_funcs:
return False
try:
mro = cls.mro()
except TypeError: