Commit 75289aca authored by Stefan Behnel's avatar Stefan Behnel

Py3 fix

parent 2bfa878a
...@@ -697,7 +697,7 @@ class GlobalState(object): ...@@ -697,7 +697,7 @@ class GlobalState(object):
u'*/', u'*[inserted by cython to avoid comment closer]/' u'*/', u'*[inserted by cython to avoid comment closer]/'
).replace( ).replace(
u'/*', u'/[inserted by cython to avoid comment start]*' u'/*', u'/[inserted by cython to avoid comment start]*'
).encode('ASCII', 'replace') # + Py2 auto-decode to unicode ).encode('ASCII', 'replace').decode('ASCII')
for line in source_desc.get_lines()] for line in source_desc.get_lines()]
if len(F) == 0: F.append(u'') if len(F) == 0: F.append(u'')
self.input_file_contents[source_desc] = F self.input_file_contents[source_desc] = F
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment