forked from VimPlug/jedi
Remove the old typing module support in favor of the new one
This commit is contained in:
@@ -117,8 +117,7 @@ class ExecutionRecursionDetector(object):
|
||||
|
||||
module = execution.get_root_context()
|
||||
|
||||
from jedi.evaluate.pep0484 import TypingModuleContext
|
||||
if module == self._evaluator.builtins_module or isinstance(module, TypingModuleContext):
|
||||
if module == self._evaluator.builtins_module:
|
||||
# We have control over builtins so we know they are not recursing
|
||||
# like crazy. Therefore we just let them execute always, because
|
||||
# they usually just help a lot with getting good results.
|
||||
|
||||
Reference in New Issue
Block a user