Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
Prev Previous commit
Update Modules/atexitmodule.c
Co-authored-by: Bartosz Sławecki <[email protected]>
  • Loading branch information
serhiy-storchaka and johnslavik authored Dec 17, 2025
commit edfaa716dcfd4a0d40a79785393b270dfb02ef4b
2 changes: 1 addition & 1 deletion Modules/atexitmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ atexit_unregister_locked(PyObject *callbacks, PyObject *func)
}
if (cmp == 1) {
// We found a callback!
// But it's index could be changed if it or other callbacks were
// But its index could have changed if it or other callbacks were
// unregistered during the comparison.
Py_ssize_t j = PyList_GET_SIZE(callbacks) - 1;
j = Py_MIN(j, i);
Expand Down
Loading