mirror of
https://github.com/davidhalter/jedi.git
synced 2026-08-17 23:47:59 +08:00
switched completely to unicode (in python2), fixes #52
This commit is contained in:
@@ -59,6 +59,9 @@ def imitate_pydoc(string):
|
||||
It's not possible to get the pydoc's without starting the annoying pager
|
||||
stuff.
|
||||
"""
|
||||
# str needed because of possible unicode stuff in py2k (pydoc doesn't work
|
||||
# with unicode strings)
|
||||
string = str(string)
|
||||
h = pydoc.help
|
||||
try:
|
||||
# try to access symbols
|
||||
|
||||
Reference in New Issue
Block a user