a 97aˆã@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ú{/private/var/folders/s6/9n5zrl012gv99k63s4q6ccsd4s6mqz/T/pip-target-f5cq3f2q/lib/python/libpasteurize/fixes/fix_division.pyÚmatch_divisions ÿr 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)NÚdivision)r)r rÚresultsrrr Ú transformszFixDivision.transformN)Ú__name__Ú __module__Ú __qualname__Z run_orderrrrrrr r sr N) Ú__doc__Zlib2to3rZlibfuturize.fixer_utilrrr ZBaseFixr rrrr Ús