ok
Direktori : /opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/fix_reload.cpython-35.pyc |
K�Ma� � @ sI d Z d d l m Z d d l m Z m Z Gd d � d e j � Z d S)z/Fixer for reload(). reload(s) -> imp.reload(s)� )� fixer_base)� ImportAndCall�touch_importc @ s. e Z d Z d Z d Z d Z d d � Z d S)� FixReloadTZprez� power< 'reload' trailer< lpar='(' ( not(arglist | argument<any '=' any>) obj=any | obj=arglist<(not argument<any '=' any>) any ','> ) rpar=')' > after=any* > c C s� | r^ | d } | r^ | j | j j k r/ d S| j | j j k r^ | j d j d k r^ d Sd } t | | | � } t d d | � | S)N�obj� z**�imp�reload)r r )�typeZsymsZ star_exprZargumentZchildren�valuer r )�selfZnodeZresultsr �names�new� r �=/opt/alt/python35/lib64/python3.5/lib2to3/fixes/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