Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modules/_ctypes/stgdict.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ error:;

/*
Replace array elements at stginfo->ffi_type_pointer.elements.
Return -1 if error occured.
Return -1 if error occurred.
*/
int
_replace_array_elements(ctypes_state *st, PyObject *layout_fields,
Expand Down
2 changes: 1 addition & 1 deletion Modules/_interpretersmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ _exec_in_interpreter(PyThreadState *tstate, PyInterpreterState *interp,
// Prep and switch interpreters.
if (_PyXI_Enter(session, interp, shareables) < 0) {
if (_PyErr_Occurred(tstate)) {
// If an error occured at this step, it means that interp
// If an error occurred at this step, it means that interp
// was not prepared and switched.
_PyXI_FreeSession(session);
return -1;
Expand Down
Loading