Improve bytes/unicode distinction for reading modules from bitcode & assembly
This commit is contained in:
parent
1c15a9784b
commit
aba3e208d2
3 changed files with 17 additions and 2 deletions
|
|
@ -101,3 +101,8 @@ def _isstring_choose():
|
|||
|
||||
isstring = _isstring_choose()
|
||||
|
||||
try:
|
||||
unicode_type = unicode
|
||||
except NameError: # Py3
|
||||
unicode_type = str
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue