mirror of https://github.com/python/cpython
bpo-40491: Fix typo in syntax error for numeric literals (GH-19893)
This commit is contained in:
parent
41a64587a0
commit
c3f001461d
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue