objspace.usemodules.atexit

  • name: atexit
  • description: use module atexit
  • command-line: –withmod-atexit
  • command-line for negation: –withoutmod-atexit
  • option type: boolean option
  • default: True

Use the ‘atexit’ module. Allow programmer to define multiple exit functions to be executed upon normal program termination.