mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Marc-Andre Lemburg:
Support for the new -U command line option option: with the option enabled the Python compiler interprets all "..." strings as u"..." (same with r"..." and ur"...").
This commit is contained in:
parent
c15a9a1f98
commit
fdc8bdb67b
1 changed files with 1 additions and 1 deletions
|
@ -920,7 +920,7 @@ parsestr(s)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (unicode) {
|
if (unicode || Py_UnicodeFlag) {
|
||||||
if (rawmode)
|
if (rawmode)
|
||||||
return PyUnicode_DecodeRawUnicodeEscape(
|
return PyUnicode_DecodeRawUnicodeEscape(
|
||||||
s, len, NULL);
|
s, len, NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue