bpo-43146: fix regression in traceback.print_exception(None) (GH-24463)

3 files changed