There is a trivial typo in a comment here: https://github.com/python/cpython/blob/804f2529d8e545a8d59eaf260ee032d014e681ba/Modules/atexitmodule.c#L188 It says "If a callaback raises an exception" but should say "If a callback raises an exception".