diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-12-27 02:58:34 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-12-27 02:58:34 (GMT) |
commit | 81d90a220f2cea407e261a3c884d388a084d2d1e (patch) | |
tree | 2484981c9d99f9334802a80f1a7a61d13ae06deb /Python | |
parent | 71e30a0438dcb8089b57d3c0d11c84c3e62e54d1 (diff) | |
download | cpython-81d90a220f2cea407e261a3c884d388a084d2d1e.zip cpython-81d90a220f2cea407e261a3c884d388a084d2d1e.tar.gz cpython-81d90a220f2cea407e261a3c884d388a084d2d1e.tar.bz2 |
string -> bytes in error message #4745
Diffstat (limited to 'Python')
-rw-r--r-- | Python/getargs.c | 2 |
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) { |