Skip to content

Commit cca1bd5

Browse files
Update Modules/atexitmodule.c
Co-authored-by: Victor Stinner <[email protected]>
1 parent fd8a0df commit cca1bd5

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
@@ -326,7 +326,7 @@ atexit_unregister(PyObject *module, PyObject *func)
326326
}
327327
PyObject *to_compare = cb->func;
328328

329-
// Unlock for fear of a custom __eq__ causing re-entrancy
329+
// Unlock for custom __eq__ causing re-entrancy
330330
_PyAtExit_UNLOCK(state);
331331
int eq = PyObject_RichCompareBool(to_compare, func, Py_EQ);
332332
if (eq < 0) {

0 commit comments

Comments
 (0)