From d3fadd54c7346f95dbcefda8ac0cb06ca33d1e48 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Tue, 31 Mar 2015 02:17:33 +0200 Subject: [PATCH] Simplification. --- jedi_vim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi_vim.py b/jedi_vim.py index 6e5c847..5e60b26 100644 --- a/jedi_vim.py +++ b/jedi_vim.py @@ -280,7 +280,7 @@ def clear_call_signatures(): # 2. Actually replace the line and redo the status quo. py_regex = r'%sjedi=([0-9]+), (.*?)%s.*?%sjedi%s'.replace('%s', e) for i, line in enumerate(vim.current.buffer): - match = re.search(r'%s' % py_regex, line) + match = re.search(py_regex, line) if match is not None: # Some signs were added to minimize syntax changes due to call # signatures. We have to remove them again. The number of them is