[Python-checkins] r72797 - in python/branches/release26-maint: Modules/_ctypes/_ctypes.c

mark.dickinson python-checkins at python.org
Wed May 20 19:58:15 CEST 2009


Author: mark.dickinson
Date: Wed May 20 19:58:15 2009
New Revision: 72797

Log:
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
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Modules/_ctypes/_ctypes.c

Modified: python/branches/release26-maint/Modules/_ctypes/_ctypes.c
==============================================================================
--- python/branches/release26-maint/Modules/_ctypes/_ctypes.c	(original)
+++ python/branches/release26-maint/Modules/_ctypes/_ctypes.c	Wed May 20 19:58:15 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