mirror of https://github.com/python/cpython
Remove full stop from a bytes-related SyntaxError message (GH-24300)
This commit is contained in:
parent
f7fa64f0e8
commit
bf9239bb61
|
@ -250,7 +250,7 @@ _PyPegen_parsestr(Parser *p, int *bytesmode, int *rawmode, PyObject **result,
|
|||
if (Py_CHARMASK(*ch) >= 0x80) {
|
||||
RAISE_SYNTAX_ERROR(
|
||||
"bytes can only contain ASCII "
|
||||
"literal characters.");
|
||||
"literal characters");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue