Commit cddabbf9 authored by Georg Brandl's avatar Georg Brandl

Fix spelling.

parent 4793aa39
...@@ -621,7 +621,7 @@ PyObject* _query_execute(Cursor* self, int multiple, PyObject* args) ...@@ -621,7 +621,7 @@ PyObject* _query_execute(Cursor* self, int multiple, PyObject* args)
} }
} else { } else {
if (PyErr_Occurred()) { 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) { if (_enable_callback_tracebacks) {
PyErr_Print(); PyErr_Print();
} else { } else {
......
...@@ -38,7 +38,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio ...@@ -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. * 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) int _seterror(sqlite3* db)
{ {
......
...@@ -32,7 +32,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio ...@@ -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. * 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); int _seterror(sqlite3* db);
#endif #endif
...@@ -2307,7 +2307,7 @@ sock_recv(PySocketSockObject *s, PyObject *args) ...@@ -2307,7 +2307,7 @@ sock_recv(PySocketSockObject *s, PyObject *args)
/* Call the guts */ /* Call the guts */
outlen = sock_recv_guts(s, PyString_AS_STRING(buf), recvlen, flags); outlen = sock_recv_guts(s, PyString_AS_STRING(buf), recvlen, flags);
if (outlen < 0) { if (outlen < 0) {
/* An error occured, release the string and return an /* An error occurred, release the string and return an
error. */ error. */
Py_DECREF(buf); Py_DECREF(buf);
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment