diff --git a/Modules/_csv.c b/Modules/_csv.c index 7eb9d8b796d..014cbb4e023 100644 --- a/Modules/_csv.c +++ b/Modules/_csv.c @@ -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) {