mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Basic support for PEP 414 without docs or tests.
This commit is contained in:
parent
745ccf8b1a
commit
6ecf77b3f8
3 changed files with 32 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue