diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2012-03-04 12:04:06 (GMT) |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2012-03-04 12:04:06 (GMT) |
commit | 6ecf77b3f8c981a695d4116b010755676bcc61e2 (patch) | |
tree | 6d8f597f8fd2796f997a814d6d20092dc9344398 /Python/ast.c | |
parent | 745ccf8b1a5d5ee8d8a72b17ebaa0bc5533b0fed (diff) | |
download | cpython-6ecf77b3f8c981a695d4116b010755676bcc61e2.zip cpython-6ecf77b3f8c981a695d4116b010755676bcc61e2.tar.gz cpython-6ecf77b3f8c981a695d4116b010755676bcc61e2.tar.bz2 |
Basic support for PEP 414 without docs or tests.
Diffstat (limited to 'Python/ast.c')
-rw-r--r-- | Python/ast.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/ast.c b/Python/ast.c index c565642..0f93098 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -3796,6 +3796,9 @@ parsestr(struct compiling *c, const node *n, int *bytesmode) quote = *++s; *bytesmode = 1; } + else if (quote == 'u' || quote == 'U') { + quote = *++s; + } else if (quote == 'r' || quote == 'R') { quote = *++s; rawmode = 1; |