diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-04-05 14:49:54 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-04-05 14:49:54 +0000 |
commit | 801efd9a99a28b8ba9fa7c7270ee8812d1a029f8 (patch) | |
tree | d064a4a74b19b8a8db08dd8b28ce304f38b03766 /Python/ast.c | |
parent | d18d69e4eb7e7c9ce7fae58d82e527f0bef2b298 (diff) | |
download | cpython-801efd9a99a28b8ba9fa7c7270ee8812d1a029f8.tar.gz |
Reverted r62128 on Guido's orders
Diffstat (limited to 'Python/ast.c')
-rw-r--r-- | Python/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c index 218436f205..6a9658a974 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) { + if (!*bytesmode && !rawmode) { return decode_unicode(s, len, rawmode, c->c_encoding); } if (*bytesmode) { |