[Python-checkins] cpython (3.2): NUL -> NULL
benjamin.peterson
python-checkins at python.org
Thu Aug 18 17:49:28 CEST 2011
http://hg.python.org/cpython/rev/459e2a9b7f54
changeset: 71900:459e2a9b7f54
branch: 3.2
parent: 71889:f0515cc7ee20
user: Benjamin Peterson <benjamin at python.org>
date: Thu Aug 18 10:48:50 2011 -0500
summary:
NUL -> NULL
files:
Objects/unicodeobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- 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;
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list