Fix : Jedi do not complete numpy arrays in dictionary
Fix ipython/ipython#10468
This commit is contained in:
1 parent
fbde21166b
commit
b0f10081d4
2 files changed
+31
-1
No files matched your search
@@ -556,7 +556,7 @@ def create(evaluator, obj, parent_context=None, module=None, faked=None):
|
||||
# Modules don't have parents, be careful with caching: recurse.
|
||||
return create(evaluator, obj)
|
||||
else:
|
||||
if parent_context is None and obj != _builtins:
|
||||
if parent_context is None and obj is not _builtins:
|
||||
return create(evaluator, obj, create(evaluator, _builtins))
|
||||
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user