Skip to content

Commit 3b499a2

Browse files
author
benjamin.peterson
committed
string -> bytes
git-svn-id: http://svn.python.org/projects/python/branches/py3k@67929 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent e32765e commit 3b499a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/getargs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ getbuffer(PyObject *arg, Py_buffer *view, char **errmsg)
13921392
Py_ssize_t count;
13931393
PyBufferProcs *pb = arg->ob_type->tp_as_buffer;
13941394
if (pb == NULL) {
1395-
*errmsg = "string or buffer";
1395+
*errmsg = "bytes or buffer";
13961396
return -1;
13971397
}
13981398
if (pb->bf_getbuffer) {

0 commit comments

Comments
 (0)