From: Mark Dickinson Date: Wed, 20 May 2009 17:55:31 +0000 (+0000) Subject: typos in ctypes Module X-Git-Tag: v2.7a1~1144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf4ad76a0a429f8cc548aa4dc1d20a37a1fb3fb6;p=python typos in ctypes Module --- diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index 4fa52ae5fb..930ee95ec2 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; }