]> granicus.if.org Git - python/commitdiff
NUL -> NULL
authorBenjamin Peterson <benjamin@python.org>
Thu, 18 Aug 2011 15:48:50 +0000 (10:48 -0500)
committerBenjamin Peterson <benjamin@python.org>
Thu, 18 Aug 2011 15:48:50 +0000 (10:48 -0500)
Objects/unicodeobject.c

index 77f8dd5a810ea049b19871fbbe372adf6d7044aa..1f2d91913ede20ac9048252f36d8e67e8dbe5331 100644 (file)
@@ -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;
     }