summaryrefslogtreecommitdiffstats
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-12-27 02:58:34 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-12-27 02:58:34 (GMT)
commit81d90a220f2cea407e261a3c884d388a084d2d1e (patch)
tree2484981c9d99f9334802a80f1a7a61d13ae06deb /Python/getargs.c
parent71e30a0438dcb8089b57d3c0d11c84c3e62e54d1 (diff)
downloadcpython-81d90a220f2cea407e261a3c884d388a084d2d1e.zip
cpython-81d90a220f2cea407e261a3c884d388a084d2d1e.tar.gz
cpython-81d90a220f2cea407e261a3c884d388a084d2d1e.tar.bz2
string -> bytes in error message #4745
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 9b1207f..3a5ef8d 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -1392,7 +1392,7 @@ getbuffer(PyObject *arg, Py_buffer *view, char **errmsg)
Py_ssize_t count;
PyBufferProcs *pb = arg->ob_type->tp_as_buffer;
if (pb == NULL) {
- *errmsg = "string or buffer";
+ *errmsg = "bytes or buffer";
return -1;
}
if (pb->bf_getbuffer) {