From 7afb766c5dcb1e3caef9ca4c09df055933eede1b Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 3 Apr 2008 16:27:27 +0000 Subject: #2541 Allow unicode escapes in raw strings --- Python/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/ast.c') diff --git a/Python/ast.c b/Python/ast.c index 6a9658a974..218436f205 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -3231,7 +3231,7 @@ parsestr(struct compiling *c, const node *n, int *bytesmode) return NULL; } } - if (!*bytesmode && !rawmode) { + if (!*bytesmode) { return decode_unicode(s, len, rawmode, c->c_encoding); } if (*bytesmode) { -- cgit v1.2.1