[Python-checkins] r72795 - in python/branches/py3k: Modules/_ctypes/_ctypes.c

mark.dickinson python-checkins at python.org
Wed May 20 19:57:28 CEST 2009


Author: mark.dickinson
Date: Wed May 20 19:57:28 2009
New Revision: 72795
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 (2009年5月20日) | 1 line
 
 typos in ctypes Module
........
Modified:
 python/branches/py3k/ (props changed)
 python/branches/py3k/Modules/_ctypes/_ctypes.c
Modified: python/branches/py3k/Modules/_ctypes/_ctypes.c
==============================================================================
--- python/branches/py3k/Modules/_ctypes/_ctypes.c	(original)
+++ python/branches/py3k/Modules/_ctypes/_ctypes.c	Wed May 20 19:57:28 2009
@@ -444,7 +444,7 @@
 
 	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 @@
 
 	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

AltStyle によって変換されたページ (->オリジナル) /