ok
Direktori : /proc/self/root/usr/lib64/python3.6/lib2to3/fixes/__pycache__/ |
Current File : //proc/self/root/usr/lib64/python3.6/lib2to3/fixes/__pycache__/fix_reload.cpython-36.pyc |
3 \� � @ s6 d Z ddlmZ ddlmZmZ G dd� dej�ZdS )z/Fixer for reload(). reload(s) -> imp.reload(s)� )� fixer_base)� ImportAndCall�touch_importc @ s e Zd ZdZdZdZdd� ZdS )� FixReloadTZprez� power< 'reload' trailer< lpar='(' ( not(arglist | argument<any '=' any>) obj=any | obj=arglist<(not argument<any '=' any>) any ','> ) rpar=')' > after=any* > c C sd |rD|d }|rD|j | jjkr"d S |j | jjkrD|jd jdkrDd S d}t|||�}td d|� |S )N�obj� z**�imp�reload)r r )�typeZsymsZ star_exprZargumentZchildren�valuer r )�selfZnode�resultsr �names�new� r �"/usr/lib64/python3.6/fix_reload.py� transform s zFixReload.transformN)�__name__� __module__�__qualname__Z BM_compatible�orderZPATTERNr r r r r r s r N)�__doc__� r Z fixer_utilr r ZBaseFixr r r r r �<module> s