bpo-40491: Fix typo in syntax error for numeric literals (GH-19893)

This commit is contained in:
Shantanu 2020-05-04 01:13:30 -07:00 committed by GitHub
parent 41a64587a0
commit c3f001461d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -907,7 +907,7 @@ _PyPegen_number_token(Parser *p)
if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) { if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
p->error_indicator = 1; 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"); "in Python 3.6 and greater");
} }