diff options
author | Guido van Rossum <guido@python.org> | 2000-05-01 17:54:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-05-01 17:54:56 (GMT) |
commit | fdc8bdb67b7a82980d5844cb86b6eb9b48d4ec38 (patch) | |
tree | f1b418af5668c2f48c28b8c0cb83b33a5dbec355 /Python | |
parent | c15a9a1f98544d3258e656503f7cbcefcda92f43 (diff) | |
download | cpython-fdc8bdb67b7a82980d5844cb86b6eb9b48d4ec38.zip cpython-fdc8bdb67b7a82980d5844cb86b6eb9b48d4ec38.tar.gz cpython-fdc8bdb67b7a82980d5844cb86b6eb9b48d4ec38.tar.bz2 |
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"...").
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 6d330cf..58354c6 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -920,7 +920,7 @@ parsestr(s) return NULL; } } - if (unicode) { + if (unicode || Py_UnicodeFlag) { if (rawmode) return PyUnicode_DecodeRawUnicodeEscape( s, len, NULL); |