From 857cfe3634ef9fcb1c7e2f5f0d0bb485468cf64a Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Wed, 17 Aug 2022 10:05:53 -0500 Subject: [PATCH] Completions: Avoid a ValueError when splitting a string --- spyder/plugins/completion/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyder/plugins/completion/plugin.py b/spyder/plugins/completion/plugin.py index 1e2451620a2..e51502808e8 100644 --- a/spyder/plugins/completion/plugin.py +++ b/spyder/plugins/completion/plugin.py @@ -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(':')