summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-07-28 18:36:01 (GMT)
committerGeorg Brandl <georg@python.org>2006-07-28 18:36:01 (GMT)
commitcddabbf98ab16a1daa5cc36e0ef0767066d4feed (patch)
tree9659c34ec9f9ae8f4ae3db034f1b9929ac575303 /Modules
parent4793aa39a9200383117fe58a0b10fcfae4299c45 (diff)
downloadcpython-cddabbf98ab16a1daa5cc36e0ef0767066d4feed.zip
cpython-cddabbf98ab16a1daa5cc36e0ef0767066d4feed.tar.gz
cpython-cddabbf98ab16a1daa5cc36e0ef0767066d4feed.tar.bz2
Fix spelling.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_sqlite/cursor.c2
-rw-r--r--Modules/_sqlite/util.c2
-rw-r--r--Modules/_sqlite/util.h2
-rw-r--r--Modules/socketmodule.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c
index 94aea9b..91d8f74 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -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 {
diff --git a/Modules/_sqlite/util.c b/Modules/_sqlite/util.c
index 33748a6..f5a7233 100644
--- a/Modules/_sqlite/util.c
+++ b/Modules/_sqlite/util.c
@@ -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)
{
diff --git a/Modules/_sqlite/util.h b/Modules/_sqlite/util.h
index e99a4dd..7ce3d40 100644
--- a/Modules/_sqlite/util.h
+++ b/Modules/_sqlite/util.h
@@ -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
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 55539ca..a53a702 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -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;