[Python-checkins] r67929 - python/branches/py3k/Python/getargs.c
benjamin.peterson
python-checkins at python.org
Sat Dec 27 03:58:34 CET 2008
Author: benjamin.peterson
Date: Sat Dec 27 03:58:34 2008
New Revision: 67929
Log:
string -> bytes
Modified:
python/branches/py3k/Python/getargs.c
Modified: python/branches/py3k/Python/getargs.c
==============================================================================
--- python/branches/py3k/Python/getargs.c (original)
+++ python/branches/py3k/Python/getargs.c Sat Dec 27 03:58:34 2008
@@ -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) {
More information about the Python-checkins
mailing list