Basic support for PEP 414 without docs or tests.

This commit is contained in:
Armin Ronacher 2012-03-04 12:04:06 +00:00
parent 745ccf8b1a
commit 6ecf77b3f8
3 changed files with 32 additions and 11 deletions

View file

@ -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;