Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a6df81

Browse files
committed
Merged revisions 72794 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r72794 | mark.dickinson | 2009-05-20 18:55:31 +0100 (Wed, 20 May 2009) | 1 line typos in ctypes Module ........
1 parent e61d437 commit 3a6df81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/_ctypes/_ctypes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ CDataType_from_buffer(PyObject *type, PyObject *args)
444444

445445
if (offset < 0) {
446446
PyErr_SetString(PyExc_ValueError,
447-
"offset cannit be negative");
447+
"offset cannot be negative");
448448
return NULL;
449449
}
450450
if (dict->size > buffer_len - offset) {
@@ -500,7 +500,7 @@ CDataType_from_buffer_copy(PyObject *type, PyObject *args)
500500

501501
if (offset < 0) {
502502
PyErr_SetString(PyExc_ValueError,
503-
"offset cannit be negative");
503+
"offset cannot be negative");
504504
return NULL;
505505
}
506506

0 commit comments

Comments
 (0)