commit | 5ad517a7d9c2694e726b3244505af274f91fb5d9 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Aug 18 10:48:50 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Aug 18 10:48:50 2011 -0500 |
tree | 4804351cb01e587ce483ff625f88bb5aaef7492f | |
parent | ae13c88d8dcfef005556a176d39434da231fd8e1 [diff] [blame] |
NUL -> NULL
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 77f8dd5..1f2d919 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -1897,7 +1897,7 @@ size = PyBytes_GET_SIZE(output); data = PyBytes_AS_STRING(output); if (size != strlen(data)) { - PyErr_SetString(PyExc_TypeError, "embedded NUL character"); + PyErr_SetString(PyExc_TypeError, "embedded NULL character"); Py_DECREF(output); return 0; }