From a8422d368283d147b4e43b194d097f225867ce4f Mon Sep 17 00:00:00 2001 From: heavenshell Date: Sat, 1 Jun 2013 00:56:04 +0900 Subject: [PATCH] Fix get_in_function_call() deprecation. --- plugin/jedi_vim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/jedi_vim.py b/plugin/jedi_vim.py index a9c2fca..5f88a3e 100644 --- a/plugin/jedi_vim.py +++ b/plugin/jedi_vim.py @@ -200,7 +200,8 @@ def show_func_def(call_def=None, completion_lines=0): return try: if call_def == None: - call_def = get_script().get_in_function_call() + sig = get_script().call_signatures() + call_def = sig[0] if sig else None clear_func_def() if call_def is None: