- Issue #13840: Fix ctypes.create_string_buffer exception message and docs.

This commit is contained in:
Meador Inge 2012-01-26 08:44:00 -06:00
parent eaac4f0d30
commit 65992c1c01
3 changed files with 4 additions and 5 deletions

View file

@ -1096,7 +1096,7 @@ CharArray_set_value(CDataObject *self, PyObject *value)
if (!PyBytes_Check(value)) {
PyErr_Format(PyExc_TypeError,
"str/bytes expected instead of %s instance",
"bytes expected instead of %s instance",
Py_TYPE(value)->tp_name);
return -1;
} else