Skip to content

Commit edfaa71

Browse files
Update Modules/atexitmodule.c
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
1 parent d79b714 commit edfaa71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/atexitmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ atexit_unregister_locked(PyObject *callbacks, PyObject *func)
267267
}
268268
if (cmp == 1) {
269269
// We found a callback!
270-
// But it's index could be changed if it or other callbacks were
270+
// But its index could have changed if it or other callbacks were
271271
// unregistered during the comparison.
272272
Py_ssize_t j = PyList_GET_SIZE(callbacks) - 1;
273273
j = Py_MIN(j, i);

0 commit comments

Comments
 (0)