1
0
forked from VimPlug/jedi

print isn't in pydoc_topics -> ignore

This commit is contained in:
David Halter
2012-12-09 18:09:21 +01:00
parent 3008b96e44
commit b4aca5d490
2 changed files with 12 additions and 2 deletions

View File

@@ -80,4 +80,7 @@ def imitate_pydoc(string):
except TypeError:
return ''
return pydoc_topics.topics[label] if pydoc_topics else ''
try:
return pydoc_topics.topics[label] if pydoc_topics else ''
except KeyError:
return ''