mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Remove full stop from a bytes-related SyntaxError message (GH-24300)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user