mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-20 12:31:14 +08:00
Fix: elifs where not considered for isinstance type inference.
This commit is contained in:
@@ -61,6 +61,9 @@ def isinstance_func(arr):
|
||||
# Shouldn't fail, even with the dot.
|
||||
#? 17 dict()
|
||||
value.
|
||||
elif isinstance(value, int):
|
||||
#? int()
|
||||
value
|
||||
|
||||
# -----------------
|
||||
# Names with multiple indices.
|
||||
|
||||
Reference in New Issue
Block a user