From 5ad517a7d9c2694e726b3244505af274f91fb5d9 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 18 Aug 2011 10:48:50 -0500 Subject: NUL -> NULL --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v0.12