1
0
forked from VimPlug/jedi

Fix some signature matching for methods

This commit is contained in:
Dave Halter
2018-09-18 23:48:26 +02:00
parent 1b11162132
commit 57fa5f5bd9
6 changed files with 28 additions and 19 deletions
+4 -1
View File
@@ -179,7 +179,10 @@ class ClassContext(use_metaclass(CachedMetaClass, TreeContext)):
continue # These are not relevant for this search.
from jedi.evaluate.pep0484 import find_unknown_type_vars
found += find_unknown_type_vars(self.parent_context, node)
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.
found.append(type_var)
return found
@evaluator_method_cache(default=())