Remove unicode usages
This commit is contained in:
1 parent
5a912de937
commit
8ee0c8593e
15 files changed
+13
-56
No files matched your search
@@ -21,9 +21,6 @@ def imitate_pydoc(string):
|
||||
if pydoc_topics is None:
|
||||
return ''
|
||||
|
||||
# str needed because of possible unicode stuff in py2k (pydoc doesn't work
|
||||
# with unicode strings)
|
||||
string = str(string)
|
||||
h = pydoc.help
|
||||
with suppress(KeyError):
|
||||
# try to access symbols
|
||||
|
||||
Reference in new issue
Block a user