Skip to content

Commit c3f0014

Browse files
authored
bpo-40491: Fix typo in syntax error for numeric literals (GH-19893)
1 parent 41a6458 commit c3f0014

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Parser/pegen/pegen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ _PyPegen_number_token(Parser *p)
907907

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

0 commit comments

Comments
 (0)