diff options
-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 3f19cc4..a62b716 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -444,7 +444,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) { @@ -500,7 +500,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; } |