diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-02-05 01:33:11 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-02-05 01:33:11 (GMT) |
commit | d2f4404bbbec57e191cefc37cccac1d7f54d57c9 (patch) | |
tree | 13e2db067132c99ebcff106573dc6686382bffce /Parser/tokenizer.c | |
parent | 64a2f9e88258c558cc72246546199c795bef4568 (diff) | |
parent | 6f805628625e0cf4ee2d420735f7b15a93715aca (diff) | |
download | cpython-d2f4404bbbec57e191cefc37cccac1d7f54d57c9.zip cpython-d2f4404bbbec57e191cefc37cccac1d7f54d57c9.tar.gz cpython-d2f4404bbbec57e191cefc37cccac1d7f54d57c9.tar.bz2 |
Issue #28489: Merge from 3.6
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 10639ed..5cc9533 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1508,7 +1508,7 @@ tok_get(struct tok_state *tok, char **p_start, char **p_end) /* Identifier (most frequent token!) */ nonascii = 0; if (is_potential_identifier_start(c)) { - /* Process b"", r"", u"", br"" and rb"" */ + /* Process the various legal combinations of b"", r"", u"", and f"". */ int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0; while (1) { if (!(saw_b || saw_u || saw_f) && (c == 'b' || c == 'B')) |