commit | 81d90a220f2cea407e261a3c884d388a084d2d1e | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Dec 27 02:58:34 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Dec 27 02:58:34 2008 +0000 |
tree | 2484981c9d99f9334802a80f1a7a61d13ae06deb | |
parent | 71e30a0438dcb8089b57d3c0d11c84c3e62e54d1 [diff] [blame] |
string -> bytes in error message #4745
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 @@ 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) {