diff Python/ast.c @ 46272:2848c657af0a

#2541 Allow unicode escapes in raw strings
author Benjamin Peterson <benjamin@python.org>
date Thu, 03 Apr 2008 16:27:27 +0000
parents 81ee270a6eb5
children b10292eafb07
line wrap: on
line diff
--- a/Python/ast.c	Thu Apr 03 04:13:12 2008 +0000
+++ b/Python/ast.c	Thu Apr 03 16:27:27 2008 +0000
@@ -3231,7 +3231,7 @@
             return NULL;
         }
     }
-    if (!*bytesmode && !rawmode) {
+    if (!*bytesmode) {
         return decode_unicode(s, len, rawmode, c->c_encoding);
     }
     if (*bytesmode) {