Skip to content

Commit

Permalink
Merge pull request #19096 from ccordoba12/issue-19087
Browse files Browse the repository at this point in the history
PR: Avoid a ValueError when splitting a string (Completions)
  • Loading branch information
ccordoba12 authored Aug 17, 2022
2 parents 3ed374e + 857cfe3 commit 6514135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/plugins/completion/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def update_completion_status(self):
tool_tip = mi_status._interpreter

if '(' in value:
value, _ = value.split('(')
value = value.split('(')[0]

if ':' in value:
kind, name = value.split(':')
Expand Down

0 comments on commit 6514135

Please sign in to comment.