mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove full stop from a bytes-related SyntaxError message (GH-24300)
This commit is contained in:
parent
f7fa64f0e8
commit
bf9239bb61
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue