switched completely to unicode (in python2), fixes #52
This commit is contained in:
1 parent
82c86dcd3e
commit
0704873fd7
5 files changed
+15
-10
No files matched your search
@@ -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