summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2017-02-05 01:33:11 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-02-05 01:33:11 (GMT)
commitd2f4404bbbec57e191cefc37cccac1d7f54d57c9 (patch)
tree13e2db067132c99ebcff106573dc6686382bffce /Parser/tokenizer.c
parent64a2f9e88258c558cc72246546199c795bef4568 (diff)
parent6f805628625e0cf4ee2d420735f7b15a93715aca (diff)
downloadcpython-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.c2
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'))