From efb1997218cfd64df147e4dcc7756c5b4c650628 Mon Sep 17 00:00:00 2001 From: heavenshell Date: Sat, 1 Jun 2013 00:37:15 +0900 Subject: [PATCH] Fix show_pydoc() get_definition() deprecation. --- plugin/jedi_vim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/jedi_vim.py b/plugin/jedi_vim.py index 3215771..b25f52b 100644 --- a/plugin/jedi_vim.py +++ b/plugin/jedi_vim.py @@ -160,7 +160,7 @@ def goto(is_definition=False, is_related_name=False, no_output=False): def show_pydoc(): script = get_script() try: - definitions = script.get_definition() + definitions = script.goto_definitions() except jedi.NotFoundError: definitions = [] except Exception: