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

View file

@ -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");
}