1
0
forked from VimPlug/jedi

Move all the gradual typing stuff into one folder

This commit is contained in:
Dave Halter
2018-12-24 17:40:47 +01:00
parent 025b8bba76
commit e2ab4c060f
14 changed files with 107 additions and 101 deletions

View File

@@ -312,7 +312,7 @@ class FunctionExecutionContext(TreeContext):
evaluator = self.evaluator
is_coroutine = self.tree_node.parent.type == 'async_stmt'
is_generator = bool(get_yield_exprs(evaluator, self.tree_node))
from jedi.evaluate.context.typing import AnnotatedSubClass
from jedi.evaluate.gradual.typing import AnnotatedSubClass
if is_coroutine:
if is_generator: