Skip to content

Commit

Permalink
bpo-40491: Fix typo in syntax error for numeric literals (pythonGH-19893
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hauntsaninja authored May 4, 2020
1 parent 41a6458 commit c3f0014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parser/pegen/pegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ _PyPegen_number_token(Parser *p)

if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
p->error_indicator = 1;
return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported"
return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported "
"in Python 3.6 and greater");
}

Expand Down

0 comments on commit c3f0014

Please sign in to comment.