????

Your IP : 18.191.150.152


Current Path : /usr/lib/python3.6/site-packages/libpasteurize/fixes/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/libpasteurize/fixes/__pycache__/fix_division.cpython-36.pyc

3

�c��@s>dZddlmZddlmZmZdd�ZGdd�dej�ZdS)	z?
Fixer for division: from __future__ import division if needed
�)�
fixer_base)�token�
future_importcCs,tj}|j|ko*|jj|ko*|jj|kS)zw
    __future__.division redefines the meaning of a single slash for division,
    so we match that and only that.
    )r�SLASH�typeZnext_siblingZprev_sibling)�nodeZslash�r�"/usr/lib/python3.6/fix_division.py�match_divisionsr
c@s eZdZdZdd�Zdd�ZdS)�FixDivision�cCst|�S)z�
        Since the tree needs to be fixed once and only once if and only if it
        matches, then we can start discarding matches after we make the first.
        )r
)�selfrrrr	�matchszFixDivision.matchcCstd|�dS)NZdivision)r)r
r�resultsrrr	�	transformszFixDivision.transformN)�__name__�
__module__�__qualname__Z	run_orderrrrrrr	rsrN)	�__doc__Zlib2to3rZlibfuturize.fixer_utilrrr
ZBaseFixrrrrr	�<module>s