From 0f0aca155735fe708dd198c0dcda180b079c6bf5 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 5 Jul 2009 21:33:36 +0200 Subject: [PATCH] Py3 fix --- Cython/Compiler/Parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index 44bc6774..724e4c1b 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -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 -- 2.26.2