Hacked By AnonymousFox
��Yf� � @ sg d Z d d l m Z m Z d d l m Z m Z m Z m Z m Z m
Z
Gd d � d e j � Z d S)z7
Convert use of sys.exitfunc to use the atexit module.
� )�pytree�
fixer_base)�Name�Attr�Call�Comma�Newline�symsc sR e Z d Z d Z d Z d Z � f d d � Z � f d d � Z d d � Z � S) �FixExitfuncTa�
(
sys_import=import_name<'import'
('sys'
|
dotted_as_names< (any ',')* 'sys' (',' any)* >
)
>
|
expr_stmt<
power< 'sys' trailer< '.' 'exitfunc' > >
'=' func=any >
)
c s t t | � j | � d S)N)�superr
�__init__)�self�args)� __class__� �?/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_exitfunc.pyr s zFixExitfunc.__init__c s&