diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-08-18 15:48:50 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-08-18 15:48:50 (GMT) |
commit | 5ad517a7d9c2694e726b3244505af274f91fb5d9 (patch) | |
tree | 4804351cb01e587ce483ff625f88bb5aaef7492f /Objects | |
parent | ae13c88d8dcfef005556a176d39434da231fd8e1 (diff) | |
download | cpython-5ad517a7d9c2694e726b3244505af274f91fb5d9.zip cpython-5ad517a7d9c2694e726b3244505af274f91fb5d9.tar.gz cpython-5ad517a7d9c2694e726b3244505af274f91fb5d9.tar.bz2 |
NUL -> NULL
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
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; } |