mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 18:35:15 +08:00
Fix mro
This commit is contained in:
1 parent
928e80c9e9
commit
eac8cfe63d
1 file changed
+1
-1
@@ -99,7 +99,7 @@ def py__mro__(context):
|
||||
debug.warning('Super class of %s is not a class: %s', context, cls)
|
||||
else:
|
||||
add(cls)
|
||||
for cls_new in py__mro__(context):
|
||||
for cls_new in py__mro__(cls):
|
||||
add(cls_new)
|
||||
return tuple(mro)
|
||||
|
||||
|
||||
Reference in new issue
Block a user