1
0
forked from VimPlug/jedi

Make it possible to gather annotation classes for Union and Optional

This commit is contained in:
Dave Halter
2018-11-27 01:14:15 +01:00
parent eb27c64c71
commit 5bb88ca703
4 changed files with 13 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ class ExecutedParam(object):
return True
matches = any(c1.is_sub_class_of(c2)
for c1 in argument_contexts
for c2 in annotations)
for c2 in annotations.gather_annotation_classes())
debug.dbg("signature compare %s: %s <=> %s",
matches, argument_contexts, annotations, color='BLUE')
return matches