Commit 7821b4c6 authored by Benjamin Peterson's avatar Benjamin Peterson Committed by GitHub

Fix name of '\0'. (GH-14222)

'\0' is the NUL byte not NULL.
parent 0a28f8d3
...@@ -826,7 +826,7 @@ Reader_iternext(ReaderObj *self) ...@@ -826,7 +826,7 @@ Reader_iternext(ReaderObj *self)
if (c == '\0') { if (c == '\0') {
Py_DECREF(lineobj); Py_DECREF(lineobj);
PyErr_Format(_csvstate_global->error_obj, PyErr_Format(_csvstate_global->error_obj,
"line contains NULL byte"); "line contains NUL");
goto err; goto err;
} }
if (parse_process_char(self, c) < 0) { if (parse_process_char(self, c) < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment