[Python-checkins] r72794 - python/trunk/Modules/_ctypes/_ctypes.c

mark.dickinson python-checkins at python.org
Wed May 20 19:55:31 CEST 2009


Author: mark.dickinson
Date: Wed May 20 19:55:31 2009
New Revision: 72794

Log:
typos in ctypes Module

Modified:
   python/trunk/Modules/_ctypes/_ctypes.c

Modified: python/trunk/Modules/_ctypes/_ctypes.c
==============================================================================
--- python/trunk/Modules/_ctypes/_ctypes.c	(original)
+++ python/trunk/Modules/_ctypes/_ctypes.c	Wed May 20 19:55:31 2009
@@ -477,7 +477,7 @@
 
 	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 @@
 
 	if (offset < 0) {
 		PyErr_SetString(PyExc_ValueError,
-				"offset cannit be negative");
+				"offset cannot be negative");
 		return NULL;
 	}
 


More information about the Python-checkins mailing list