diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-05-20 17:55:31 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-05-20 17:55:31 (GMT) |
commit | cf4ad76a0a429f8cc548aa4dc1d20a37a1fb3fb6 (patch) | |
tree | 12652753326d3be0af90683632698e1f66464992 | |
parent | 1ef9c837b7c61e20db8e2aceeb34e450e92405f9 (diff) | |
download | cpython-cf4ad76a0a429f8cc548aa4dc1d20a37a1fb3fb6.zip cpython-cf4ad76a0a429f8cc548aa4dc1d20a37a1fb3fb6.tar.gz cpython-cf4ad76a0a429f8cc548aa4dc1d20a37a1fb3fb6.tar.bz2 |
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 4fa52ae..930ee95 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; } |