]> granicus.if.org Git - python/commitdiff
Issue #28489: Fix comment in tokenizer.c
authorBerker Peksag <berker.peksag@gmail.com>
Sun, 5 Feb 2017 01:32:39 +0000 (04:32 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 5 Feb 2017 01:32:39 +0000 (04:32 +0300)
Patch by Ryan Gonzalez.

Parser/tokenizer.c

index 0fa3aebc0f8d515c2302d8abda760da09101291f..ff65f2a735903c2d6d90391ac772b4ce881d60f0 100644 (file)
@@ -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'))