Commit 0f0aca15 authored by Stefan Behnel's avatar Stefan Behnel

Py3 fix

parent e2f68668
......@@ -594,7 +594,7 @@ def p_cat_string_literal(s):
if kind == 'u':
value = EncodedString( u''.join(strings) )
else:
value = BytesLiteral( ''.join(strings) )
value = BytesLiteral( StringEncoding.join_bytes(strings) )
value.encoding = s.source_encoding
return kind, value
......
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