mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-19 05:41:25 +08:00
fixed broken isinstance tests
This commit is contained in:
1 parent
3de6603cf8
commit
077dcc6c89
1 file changed
+2
@@ -1162,6 +1162,8 @@ def get_scopes_for_name(scope, name_str, position=None, search_global=False,
|
|||||||
position)
|
position)
|
||||||
if n and result:
|
if n and result:
|
||||||
result = n + [p for p in result if not check_for_param(r)]
|
result = n + [p for p in result if not check_for_param(r)]
|
||||||
|
else:
|
||||||
|
result = n
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in new issue
Block a user