summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-18 15:48:50 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-18 15:48:50 (GMT)
commit5ad517a7d9c2694e726b3244505af274f91fb5d9 (patch)
tree4804351cb01e587ce483ff625f88bb5aaef7492f /Objects/unicodeobject.c
parentae13c88d8dcfef005556a176d39434da231fd8e1 (diff)
downloadcpython-5ad517a7d9c2694e726b3244505af274f91fb5d9.zip
cpython-5ad517a7d9c2694e726b3244505af274f91fb5d9.tar.gz
cpython-5ad517a7d9c2694e726b3244505af274f91fb5d9.tar.bz2
NUL -> NULL
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ PyUnicode_FSConverter(PyObject* arg, void* addr)
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;
}