https://github.com/python/cpython/commit/7edf8e50d1df1cab7b3462c836d4ce0be7d8b93b commit: 7edf8e50d1df1cab7b3462c836d4ce0be7d8b93b branch: 3.8 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: GitHub <noreply at github.com> date: 2019年06月18日T21:55:59-07:00 summary: Fix name of '0円'. (GH-14222) '0円' is the NUL byte not NULL. (cherry picked from commit 7821b4c6d29933511d50bb42255e39790c6abf00) Co-authored-by: Benjamin Peterson <benjamin at python.org> files: M Modules/_csv.c diff --git a/Modules/_csv.c b/Modules/_csv.c index 7eb9d8b796dd..014cbb4e0231 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) {