Commit 598c7564 authored by Benjamin Peterson's avatar Benjamin Peterson Committed by GitHub

[2.7] Fix name of '\0'. (GH-14225)

'\0' is the NUL byte not NULL..
(cherry picked from commit 7821b4c6)
parent a5b1b222
......@@ -818,7 +818,7 @@ Reader_iternext(ReaderObj *self)
if (c == '\0') {
Py_DECREF(lineobj);
PyErr_Format(error_obj,
"line contains NULL byte");
"line contains NUL");
goto err;
}
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