Package gui :: Module relax_prompt :: Class _Exit
[hide private]
[frames] | no frames]

Class _Exit

source code

Instance Methods [hide private]
 
__init__(self, fn=None)
Store the exiting function.
source code
 
__repr__(self)
Exit the program.
source code
Method Details [hide private]

__init__(self, fn=None)
(Constructor)

source code 

Store the exiting function.

Parameters:
  • fn (func) - The exiting function.