commit | 7afb766c5dcb1e3caef9ca4c09df055933eede1b | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Apr 03 16:27:27 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Apr 03 16:27:27 2008 +0000 |
tree | 1dd8587ca7a608f13371047826530189c9e1f580 | |
parent | f95ecf7b157f9aa20f33c50f5ca1b4c50de96daa [diff] [blame] |
#2541 Allow unicode escapes in raw strings
diff --git a/Python/ast.c b/Python/ast.c index 6a9658a..218436f 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -3231,7 +3231,7 @@ return NULL; } } - if (!*bytesmode && !rawmode) { + if (!*bytesmode) { return decode_unicode(s, len, rawmode, c->c_encoding); } if (*bytesmode) {