NUL -> NULL

This commit is contained in:
Benjamin Peterson 2011-08-18 10:48:50 -05:00
parent ae13c88d8d
commit 5ad517a7d9

View 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;
}