Mercurial > cpython-lru_cache-weakref
diff Python/getargs.c @ 50283:0c852c116e23
string -> bytes in error message #4745
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 27 Dec 2008 02:58:34 +0000 |
| parents | 27e142d99a71 |
| children | ad7447a165bb |
line wrap: on
line diff
--- a/Python/getargs.c Wed Dec 24 16:27:25 2008 +0000 +++ b/Python/getargs.c Sat Dec 27 02:58:34 2008 +0000 @@ -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) {
