mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-17 13:59:37 +08:00
Fix mro
This commit is contained in:
@@ -99,7 +99,7 @@ def py__mro__(context):
|
|||||||
debug.warning('Super class of %s is not a class: %s', context, cls)
|
debug.warning('Super class of %s is not a class: %s', context, cls)
|
||||||
else:
|
else:
|
||||||
add(cls)
|
add(cls)
|
||||||
for cls_new in py__mro__(context):
|
for cls_new in py__mro__(cls):
|
||||||
add(cls_new)
|
add(cls_new)
|
||||||
return tuple(mro)
|
return tuple(mro)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user