Kaydet (Commit) cf4ad76a authored tarafından Mark Dickinson's avatar Mark Dickinson

typos in ctypes Module

üst 1ef9c837
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment