diff options
author | Meador Inge <meadori@gmail.com> | 2012-01-26 14:47:27 (GMT) |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2012-01-26 14:47:27 (GMT) |
commit | c9e7ef7d70f531864ffef222ff72ccf75a9425c5 (patch) | |
tree | 4075b06a1e59901898f51ef847d7942c9205c428 /Modules | |
parent | 7f2b576875ce7cab03cdbea3984edbd801045a24 (diff) | |
parent | 65992c1c01115166375e1c6d8484f053919e30da (diff) | |
download | cpython-c9e7ef7d70f531864ffef222ff72ccf75a9425c5.zip cpython-c9e7ef7d70f531864ffef222ff72ccf75a9425c5.tar.gz cpython-c9e7ef7d70f531864ffef222ff72ccf75a9425c5.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 31906bf..7516306 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 |