Files
PowerToys/PythonHome/Lib/atexit.pyc

27 lines
2.3 KiB
Plaintext
Raw Normal View History

2014-07-09 18:15:23 +08:00
<03>
<EFBFBD>W`Sc@s<>dZdgZddlZgZd<00>Zd<00>Zeed<00>rReej<00>nee_edkr<>d<00>Z d <00>Z
dd
<00>Z ee <00>ee
d <00>ee d d <00>ee d<00>ndS(s<>
atexit.py - allow programmer to define multiple exit functions to be executed
upon normal program termination.
One public function, register, is defined.
tregisteri<72><69><EFBFBD><EFBFBD>NcCs<>d}x<>tr<>tj<00>\}}}y|||<00>Wq tk
rTtj<00>}q ddl}tjdIJ|j<00>tj<00>}q Xq W|dk r<>|d|d|d<19>ndS(s<>run any registered exit functions
_exithandlers is traversed in reverse order so functions are executed
last in, first out.
i<><69><EFBFBD><EFBFBD>NsError in atexit._run_exitfuncs:iii( tNonet _exithandlerstpopt
2014-07-10 23:57:08 +08:00
SystemExittsystexc_infot tracebacktstderrt print_exc(RtfuncttargstkargsR((s;e:\github\Wox.JSONRPC\Output\Debug\PythonHome\lib\atexit.pyt_run_exitfuncs s    
2014-07-09 18:15:23 +08:00
 cOstj|||f<00>|S(sregister a function to be executed upon normal program termination
func - function to be called at exit
targs - optional arguments to pass to func
kargs - optional keyword arguments to pass to func
func is returned to facilitate usage as a decorator.
(Rtappend(R
2014-07-10 23:57:08 +08:00
R R ((s;e:\github\Wox.JSONRPC\Output\Debug\PythonHome\lib\atexit.pyR%s texitfunct__main__cCs dGHdS(Ns
running x1((((s;e:\github\Wox.JSONRPC\Output\Debug\PythonHome\lib\atexit.pytx17scCsd|fGHdS(Nsrunning x2(%r)((tn((s;e:\github\Wox.JSONRPC\Output\Debug\PythonHome\lib\atexit.pytx29scCsd||fGHdS(Nsrunning x3(%r, kwd=%r)((Rtkwd((s;e:\github\Wox.JSONRPC\Output\Debug\PythonHome\lib\atexit.pytx3;si itbars no kwd args( t__doc__t__all__RRR RthasattrRt__name__RRRR(((s;e:\github\Wox.JSONRPC\Output\Debug\PythonHome\lib\atexit.pyt<module>s          
2014-07-09 18:15:23 +08:00