[Python-checkins] cpython (3.2): #13665: s/string/bytes/ in error message.

ezio.melotti python-checkins at python.org
Wed Jan 18 04:43:36 CET 2012


http://hg.python.org/cpython/rev/b4d9243d16c9
changeset:   74486:b4d9243d16c9
branch:      3.2
parent:      74483:9d62f5aa35ff
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Wed Jan 18 05:42:39 2012 +0200
summary:
  #13665: s/string/bytes/ in error message.

files:
  Modules/_ctypes/cfield.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_ctypes/cfield.c b/Modules/_ctypes/cfield.c
--- 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;
 }

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list