Skip to content

Commit bf9239b

Browse files
authored
Remove full stop from a bytes-related SyntaxError message (pythonGH-24300)
1 parent f7fa64f commit bf9239b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/string_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ _PyPegen_parsestr(Parser *p, int *bytesmode, int *rawmode, PyObject **result,
250250
if (Py_CHARMASK(*ch) >= 0x80) {
251251
RAISE_SYNTAX_ERROR(
252252
"bytes can only contain ASCII "
253-
"literal characters.");
253+
"literal characters");
254254
return -1;
255255
}
256256
}

0 commit comments

Comments
 (0)