mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix name of '\0'. (GH-14222)
'\0' is the NUL byte not NULL.
This commit is contained in:
parent
0a28f8d379
commit
7821b4c6d2
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ Reader_iternext(ReaderObj *self)
|
|||
if (c == '\0') {
|
||||
Py_DECREF(lineobj);
|
||||
PyErr_Format(_csvstate_global->error_obj,
|
||||
"line contains NULL byte");
|
||||
"line contains NUL");
|
||||
goto err;
|
||||
}
|
||||
if (parse_process_char(self, c) < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue