From fe517fae74cffde4f821da499ed61a90d79b2519 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 29 Apr 2015 10:57:40 +0200 Subject: [PATCH] Use `desc_with_module` in "Builtin modules cannot be displayed" error --- jedi_vim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi_vim.py b/jedi_vim.py index 183c518..9f7aec7 100644 --- a/jedi_vim.py +++ b/jedi_vim.py @@ -218,7 +218,7 @@ 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 (%s)." - % d.module_path) + % d.desc_with_module) else: if d.module_path != vim.current.buffer.name: result = new_buffer(d.module_path)