]> granicus.if.org Git - python/commitdiff
Fix spelling.
authorGeorg Brandl <georg@python.org>
Fri, 28 Jul 2006 18:36:01 +0000 (18:36 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 28 Jul 2006 18:36:01 +0000 (18:36 +0000)
Modules/_sqlite/cursor.c
Modules/_sqlite/util.c
Modules/_sqlite/util.h
Modules/socketmodule.c

index 94aea9bd656559e3da865cc50800cd677008b837..91d8f74eef4af018f5428e8e8cb6089016b1c6c8 100644 (file)
@@ -621,7 +621,7 @@ PyObject* _query_execute(Cursor* self, int multiple, PyObject* args)
                 }
             } else {
                 if (PyErr_Occurred()) {
-                    /* there was an error that occured in a user-defined callback */
+                    /* there was an error that occurred in a user-defined callback */
                     if (_enable_callback_tracebacks) {
                         PyErr_Print();
                     } else {
index 33748a6b40d70e220bc731903d14ff314a482fa1..f5a7233a9f333e2b827ea545ea3cba57053cfd36 100644 (file)
@@ -38,7 +38,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio
 
 /**
  * Checks the SQLite error code and sets the appropriate DB-API exception.
- * Returns the error code (0 means no error occured).
+ * Returns the error code (0 means no error occurred).
  */
 int _seterror(sqlite3* db)
 {
index e99a4dd81b1d797ec7122c937de8e2f0c56127aa..7ce3d403c63cf8de2b5cf8c8783f6f56f9da50ab 100644 (file)
@@ -32,7 +32,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio
 
 /**
  * Checks the SQLite error code and sets the appropriate DB-API exception.
- * Returns the error code (0 means no error occured).
+ * Returns the error code (0 means no error occurred).
  */
 int _seterror(sqlite3* db);
 #endif
index 55539ca69908bc1787e28de19cd24f5dac3736bb..a53a702f4c566904856375bb93993ed9fce569ce 100644 (file)
@@ -2307,7 +2307,7 @@ sock_recv(PySocketSockObject *s, PyObject *args)
        /* Call the guts */
        outlen = sock_recv_guts(s, PyString_AS_STRING(buf), recvlen, flags);
        if (outlen < 0) {
-               /* An error occured, release the string and return an
+               /* An error occurred, release the string and return an
                   error. */
                Py_DECREF(buf);
                return NULL;