diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-05-20 17:58:15 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-05-20 17:58:15 (GMT) |
commit | 5fcb22ec44b183d1318b8fe29daf4105050af6d7 (patch) | |
tree | 41add64b3657d72b00ba1dca9b6395660a49d35d | |
parent | 82313d8ffe544290b44ae8f6b329c9ab1a0f6d2c (diff) | |
download | cpython-5fcb22ec44b183d1318b8fe29daf4105050af6d7.zip cpython-5fcb22ec44b183d1318b8fe29daf4105050af6d7.tar.gz cpython-5fcb22ec44b183d1318b8fe29daf4105050af6d7.tar.bz2 |
Merged revisions 72794 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72794 | mark.dickinson | 2009-05-20 18:55:31 +0100 (Wed, 20 May 2009) | 1 line
typos in ctypes Module
........
-rw-r--r-- | Modules/_ctypes/_ctypes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index 7caef29..6764c21 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -477,7 +477,7 @@ CDataType_from_buffer(PyObject *type, PyObject *args) if (offset < 0) { PyErr_SetString(PyExc_ValueError, - "offset cannit be negative"); + "offset cannot be negative"); return NULL; } if (dict->size > buffer_len - offset) { @@ -533,7 +533,7 @@ CDataType_from_buffer_copy(PyObject *type, PyObject *args) if (offset < 0) { PyErr_SetString(PyExc_ValueError, - "offset cannit be negative"); + "offset cannot be negative"); return NULL; } |