From: Benjamin Peterson Date: Thu, 18 Aug 2011 15:48:50 +0000 (-0500) Subject: NUL -> NULL X-Git-Tag: v3.3.0a1~1682^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ad517a7d9c2694e726b3244505af274f91fb5d9;p=python NUL -> NULL --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 77f8dd5a81..1f2d91913e 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; }