Use async generator/async functions from typeshed

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

No files matched your search

+1 -1
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()