1
0
forked from VimPlug/jedi

Move annotation pep0484 file (about anontations) to gradual folder

This commit is contained in:
Dave Halter
2018-12-24 17:48:21 +01:00
parent e2ab4c060f
commit 59c7623769
7 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ class ClassContext(use_metaclass(CachedMetaClass, ClassMixin, TreeContext)):
if stars:
continue # These are not relevant for this search.
from jedi.evaluate.pep0484 import find_unknown_type_vars
from jedi.evaluate.gradual.annotation import find_unknown_type_vars
for type_var in find_unknown_type_vars(self.parent_context, node):
if type_var not in found:
# The order matters and it's therefore a list.