-í
æ¶<c       s#    d  Z    d g Z 
 g  Z  d „  Z  d „  Z  d k Z   y ! e i Z Wn" " e j
 o # e e _ n# X' e e j o ( e e ƒ n ) [ + e	 d j ok , d „  Z
 . d „  Z 0 e d „ Z 3 e e
 ƒ 4 e e d	 ƒ 5 e e d
 d ƒ 6 e e d ƒ n d S(   sœ   
atexit.py - allow programmer to define multiple exit functions to be executed
upon normal program termination.

One public function, register, is defined.
s   registerc     sJ      x:  t  o/  t  i ƒ  \ } } }   t | | |  ƒ q Wd S(   s‰   run any registered exit functions

    _exithandlers is traversed in reverse order so functions are executed
    last in, first out.
    N(   s   _exithandlerss   pops   funcs   targss   kargss   apply(   s   kargss   funcs   targs(    (    s   /usr/lib/python2.2/atexit.pys   _run_exitfuncs s
    
c    s#      t  i |  | | f ƒ d S(   s×   register 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
    N(   s   _exithandlerss   appends   funcs   targss   kargs(   s   funcs   targss   kargs(    (    s   /usr/lib/python2.2/atexit.pys   register s   Ns   __main__c      s   , - d GHd  S(   Ns
   running x1(    (    (    (    s   /usr/lib/python2.2/atexit.pys   x1, s   c    s   . / d |  GHd  S(   Ns   running x2(%s)(   s   n(   s   n(    (    s   /usr/lib/python2.2/atexit.pys   x2. s   c    s   0 1 d |  | f GHd  S(   Ns   running x3(%s, kwd=%s)(   s   ns   kwd(   s   ns   kwd(    (    s   /usr/lib/python2.2/atexit.pys   x30 s   i   i   s   bars   no kwd args(   s   __doc__s   __all__s   _exithandlerss   _run_exitfuncss   registers   syss   exitfuncs   xs   AttributeErrors   __name__s   x1s   x2s   Nones   x3(	   s   _exithandlerss   __all__s   _run_exitfuncss   registers   x3s   syss   xs   x2s   x1(    (    s   /usr/lib/python2.2/atexit.pys   ? s(   		