Show More
@@ -988,6 +988,15 b' def _make_signature(completion)-> str:' | |||
|
988 | 988 | |
|
989 | 989 | """ |
|
990 | 990 | |
|
991 | # it looks like this might work on jedi 0.17 | |
|
992 | if hasattr(completion, 'get_signatures'): | |
|
993 | signatures = completion.get_signatures() | |
|
994 | if not signatures: | |
|
995 | return '(?)' | |
|
996 | ||
|
997 | c0 = completion.get_signatures()[0] | |
|
998 | return '('+c0.to_string().split('(', maxsplit=1)[1] | |
|
999 | ||
|
991 | 1000 | return '(%s)'% ', '.join([f for f in (_formatparamchildren(p) for signature in completion.get_signatures() |
|
992 | 1001 | for p in signature.defined_names()) if f]) |
|
993 | 1002 |
General Comments 0
You need to be logged in to leave comments.
Login now