mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
mixins are now possible even if some things are in the base class
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user