mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +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):
|
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