##// END OF EJS Templates
handle when no signatures are found
Matthias Bussonnier -
Show More
@@ -990,6 +990,10 b' def _make_signature(completion)-> str:'
990 990
991 991 # it looks like this might work on jedi 0.17
992 992 if hasattr(completion, 'get_signatures'):
993 signatures = completion.get_signatures()
994 if not signatures:
995 return '(?)'
996
993 997 c0 = completion.get_signatures()[0]
994 998 return '('+c0.to_string().split('(', maxsplit=1)[1]
995 999
General Comments 0
You need to be logged in to leave comments. Login now