From 6028e0d3799b7cfe56d23022be8335743e41d8ad Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 7 Aug 2013 10:59:23 +0430 Subject: [PATCH] builtin modules cannot be displayed, but show the path where they are located --- 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 8d41a71..fcbcd5e 100644 --- a/plugin/jedi_vim.py +++ b/plugin/jedi_vim.py @@ -137,7 +137,8 @@ def goto(is_definition=False, is_related_name=False, no_output=False): echo_highlight( "Cannot get the definition of Python keywords.") else: - echo_highlight("Builtin modules cannot be displayed.") + echo_highlight("Builtin modules cannot be displayed (%s)." + % d.module_path) else: if d.module_path != vim.current.buffer.name: vim.eval('jedi#new_buffer(%s)' % \