Skip to content

Commit

Permalink
Merge pull request #1 from StephenHesperus/jedi-vim-issue-#385
Browse files Browse the repository at this point in the history
Fix jedi-vim issue davidhalter#385: extra '=' sign for params
  • Loading branch information
StephenHesperus committed Apr 29, 2016
2 parents 6266678 + 8e3fcfd commit 13e6b77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jedi/api/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ def _complete(self, like_name):
if settings.add_dot_after_module:
if isinstance(self._definition, tree.Module):
append += '.'
if isinstance(self._definition, tree.Param):
append += '='
# Remove those two lines should fix jedi-vim issue #385: https://github.com/davidhalter/jedi-vim/issues/385.
# if isinstance(self._definition, tree.Param):
# append += '='

name = str(self._name)
if like_name:
Expand Down

0 comments on commit 13e6b77

Please sign in to comment.