Skip to content

Commit

Permalink
Issue python#28489: Fix comment in tokenizer.c
Browse files Browse the repository at this point in the history
Patch by Ryan Gonzalez.
  • Loading branch information
berkerpeksag committed Feb 5, 2017
1 parent 0c8ee60 commit 6f80562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parser/tokenizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit 6f80562

Please sign in to comment.