commit | acd5f7bcebe9a341cf5d98425f228695dffab8e0 | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Wed Jan 18 05:42:39 2012 +0200 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Wed Jan 18 05:42:39 2012 +0200 |
tree | 76dd63b0bf9ad52a85d25d0b4749dd922088a31f | |
parent | 6e35d417f7d3c5c53b5904c1fce54ddfbf7214e4 [diff] |
#13665: s/string/bytes/ in error message.
diff --git a/Modules/_ctypes/cfield.c b/Modules/_ctypes/cfield.c index ccaa3c9..e2d1e4b 100644 --- a/Modules/_ctypes/cfield.c +++ b/Modules/_ctypes/cfield.c
@@ -1372,7 +1372,7 @@ _RET(value); } PyErr_Format(PyExc_TypeError, - "string or integer address expected instead of %s instance", + "bytes or integer address expected instead of %s instance", value->ob_type->tp_name); return NULL; }