Skip to content

Commit e40ef92

Browse files
committed
Comment why we chop off 6 characters
1 parent 7e43f45 commit e40ef92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ycmd/completers/python/python_completer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def ComputeSignaturesInner( self, request_data ):
215215
'activeParameter': active_parameter,
216216
'signatures': [
217217
{
218+
# We remove 'param ' from the start of each parameter (hence the 6:)
218219
'label': s.description + '( ' + ', '.join(
219220
[ p.description[ 6: ] for p in s.params ] ) + ' )',
220221
'parameters': [

0 commit comments

Comments
 (0)