Your IP : 3.149.228.245


Current Path : /lib64/python2.7/lib2to3/fixes/
Upload File :
Current File : //lib64/python2.7/lib2to3/fixes/fix_reduce.pyc

�
�mec@sCdZddlmZddlmZdejfd��YZdS(sqFixer for reduce().

Makes sure reduce() is imported from the functools module if reduce is
used in that module.
i����(t
fixer_base(ttouch_importt	FixReducecBs#eZeZdZdZd�ZRS(tpresi
    power< 'reduce'
        trailer< '('
            arglist< (
                (not(argument<any '=' any>) any ','
                 not(argument<any '=' any>) any) |
                (not(argument<any '=' any>) any ','
                 not(argument<any '=' any>) any ','
                 not(argument<any '=' any>) any)
            ) >
        ')' >
    >
    cCstdd|�dS(Nu	functoolsureduce(R(tselftnodetresults((s0/usr/lib64/python2.7/lib2to3/fixes/fix_reduce.pyt	transform"s(t__name__t
__module__tTruet
BM_compatibletordertPATTERNR(((s0/usr/lib64/python2.7/lib2to3/fixes/fix_reduce.pyRsN(t__doc__tlib2to3Rtlib2to3.fixer_utilRtBaseFixR(((s0/usr/lib64/python2.7/lib2to3/fixes/fix_reduce.pyt<module>s