diff options
author | Meador Inge <meadori@gmail.com> | 2012-01-26 14:44:00 (GMT) |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2012-01-26 14:44:00 (GMT) |
commit | 65992c1c01115166375e1c6d8484f053919e30da (patch) | |
tree | 4030d1d98473eee5b821c6e3860c043536b4e897 /Modules | |
parent | eaac4f0d30dba8b53b7ebd1e28b31863e871fa6b (diff) | |
download | cpython-65992c1c01115166375e1c6d8484f053919e30da.zip cpython-65992c1c01115166375e1c6d8484f053919e30da.tar.gz cpython-65992c1c01115166375e1c6d8484f053919e30da.tar.bz2 |
- Issue #13840: Fix ctypes.create_string_buffer exception message and docs.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/_ctypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index 8f378e2..8be5958 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -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 |