Skip to content

Commit

Permalink
Comment why we chop off 6 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Jun 27, 2019
1 parent 752f2b9 commit 36e1900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ycmd/completers/python/python_completer.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def ComputeSignaturesInner( self, request_data ):
'activeParameter': active_parameter,
'signatures': [
{
# We remove 'param ' from the start of each parameter (hence the 6:)
'label': s.description + '( ' + ', '.join(
[ p.description[ 6: ] for p in s.params ] ) + ' )',
'parameters': [
Expand Down

0 comments on commit 36e1900

Please sign in to comment.