1
0
forked from VimPlug/jedi

Use async generator/async functions from typeshed

This commit is contained in:
Dave Halter
2018-09-23 22:57:08 +02:00
parent ff6516d1d7
commit c2b78b175c
4 changed files with 19 additions and 40 deletions

View File

@@ -159,7 +159,7 @@ class Evaluator(object):
@evaluator_function_cache()
def typing_module(self):
typing_module, = self.import_module(('typing',))
return typing_module
return typing_module.stub_context
def reset_recursion_limitations(self):
self.recursion_detector = recursion.RecursionDetector()