diff Objects/unicodeobject.c @ 35806:44fe157255bc legacy-trunk

fix typos, mostly in comments
author Fred Drake <fdrake@acm.org>
date Fri, 28 Oct 2005 14:39:47 +0000
parents e0e320f36c93
children 0ecbffbadc00
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Fri Oct 28 05:52:22 2005 +0000
+++ b/Objects/unicodeobject.c	Fri Oct 28 14:39:47 2005 +0000
@@ -734,7 +734,7 @@
 
 /* error handling callback helper:
    build arguments, call the callback and check the arguments,
-   if no exception occured, copy the replacement to the output
+   if no exception occurred, copy the replacement to the output
    and adjust various state variables.
    return 0 on success, -1 on error
 */
@@ -2987,7 +2987,7 @@
 
 /* Lookup the character ch in the mapping. If the character
    can't be found, Py_None is returned (or NULL, if another
-   error occured). */
+   error occurred). */
 static PyObject *charmapencode_lookup(Py_UNICODE c, PyObject *mapping)
 {
     PyObject *w = PyInt_FromLong((long)c);