summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2017-02-05 01:32:39 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-02-05 01:32:39 (GMT)
commit6f805628625e0cf4ee2d420735f7b15a93715aca (patch)
tree28d213bcec2f3409231fd2d56120b45f6f400493 /Parser
parent0c8ee60e91eafbaaeb0864fb328af82ca6b1cf3e (diff)
downloadcpython-6f805628625e0cf4ee2d420735f7b15a93715aca.zip
cpython-6f805628625e0cf4ee2d420735f7b15a93715aca.tar.gz
cpython-6f805628625e0cf4ee2d420735f7b15a93715aca.tar.bz2
Issue #28489: Fix comment in tokenizer.c
Patch by Ryan Gonzalez.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 0fa3aeb..ff65f2a 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'))