We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7fb817 commit 79f3ffeCopy full SHA for 79f3ffe
pyls/plugins/signature.py
@@ -21,7 +21,7 @@ def pyls_signature_help(document, position):
21
22
s = signatures[0]
23
sig = {
24
- 'label': s.docstring().splitlines()[0],
+ 'label': (s.docstring().splitlines() or [''])[0],
25
'documentation': _utils.format_docstring(s.docstring(raw=True))
26
}
27
0 commit comments