Skip to content

Commit cddabbf

Browse files
committed
Fix spelling.
1 parent 4793aa3 commit cddabbf

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎Modules/_sqlite/cursor.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ PyObject* _query_execute(Cursor* self, int multiple, PyObject* args)
621621
}
622622
} else {
623623
if (PyErr_Occurred()) {
624-
/* there was an error that occured in a user-defined callback */
624+
/* there was an error that occurred in a user-defined callback */
625625
if (_enable_callback_tracebacks) {
626626
PyErr_Print();
627627
} else {

‎Modules/_sqlite/util.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio
3838

3939
/**
4040
* Checks the SQLite error code and sets the appropriate DB-API exception.
41-
* Returns the error code (0 means no error occured).
41+
* Returns the error code (0 means no error occurred).
4242
*/
4343
int _seterror(sqlite3* db)
4444
{

‎Modules/_sqlite/util.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio
3232

3333
/**
3434
* Checks the SQLite error code and sets the appropriate DB-API exception.
35-
* Returns the error code (0 means no error occured).
35+
* Returns the error code (0 means no error occurred).
3636
*/
3737
int _seterror(sqlite3* db);
3838
#endif

‎Modules/socketmodule.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,7 @@ sock_recv(PySocketSockObject *s, PyObject *args)
23072307
/* Call the guts */
23082308
outlen = sock_recv_guts(s, PyString_AS_STRING(buf), recvlen, flags);
23092309
if (outlen < 0) {
2310-
/* An error occured, release the string and return an
2310+
/* An error occurred, release the string and return an
23112311
error. */
23122312
Py_DECREF(buf);
23132313
return NULL;

0 commit comments

Comments
 (0)