mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
[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>
This commit is contained in:
parent
2ea3b75200
commit
201c765d76
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -666,7 +666,7 @@ _run_in_interpreter(PyThreadState *tstate, PyInterpreterState *interp,
|
|||
|
||||
// Prep and switch interpreters.
|
||||
if (_PyXI_Enter(session, interp, shareables, &result) < 0) {
|
||||
// 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);
|
||||
_PyXI_FreeFailure(failure);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue