mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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 ........
This commit is contained in:
parent
e61d4372ed
commit
3a6df8183b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue