Skip to content

Commit 201c765

Browse files
miss-islingtonGameRoManStanFromIreland
authored
[3.14] Fix typo: "occured" =>"occurred" (GH-134928) (#136771)
Co-authored-by: Roman <121314722+GameRoMan@users.noreply.github.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
1 parent 2ea3b75 commit 201c765

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Modules/_ctypes/stgdict.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ error:;
484484

485485
/*
486486
Replace array elements at stginfo->ffi_type_pointer.elements.
487-
Return -1 if error occured.
487+
Return -1 if error occurred.
488488
*/
489489
int
490490
_replace_array_elements(ctypes_state *st, PyObject *layout_fields,

Modules/_interpretersmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ _run_in_interpreter(PyThreadState *tstate, PyInterpreterState *interp,
666666

667667
// Prep and switch interpreters.
668668
if (_PyXI_Enter(session, interp, shareables, &result) < 0) {
669-
// If an error occured at this step, it means that interp
669+
// If an error occurred at this step, it means that interp
670670
// was not prepared and switched.
671671
_PyXI_FreeSession(session);
672672
_PyXI_FreeFailure(failure);

0 commit comments

Comments
 (0)