AlkantarClanX12

Your IP : 18.218.2.191


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

�
{fc@sCdZddlmZddlmZdejfd��YZdS(sT Fixer for itertools.(imap|ifilter|izip) --> (map|filter|zip) and
    itertools.ifilterfalse --> itertools.filterfalse (bugs 2360-2363)

    imports from itertools are fixed in fix_itertools_import.py

    If itertools is imported as something else (ie: import itertools as it;
    it.izip(spam, eggs)) method calls will not get fixed.
    i(t
fixer_base(tNametFixItertoolscBs0eZeZdZde�ZdZd�ZRS(s7('imap'|'ifilter'|'izip'|'izip_longest'|'ifilterfalse')s�
              power< it='itertools'
                  trailer<
                     dot='.' func=%(it_funcs)s > trailer< '(' [any] ')' > >
              |
              power< func=%(it_funcs)s trailer< '(' [any] ')' > >
              icCs�d}|dd}d|krt|jd	krt|d|d}}|j}|j�|j�|jj|�n|p�|j}|jt|jdd|��dS(
Ntfuncitituifilterfalseuizip_longesttdotitprefix(uifilterfalseuizip_longest(tNonetvalueRtremovetparenttreplaceR(tselftnodetresultsRRRR((s3/usr/lib64/python2.7/lib2to3/fixes/fix_itertools.pyt	transforms	

(	t__name__t
__module__tTruet
BM_compatibletit_funcstlocalstPATTERNt	run_orderR(((s3/usr/lib64/python2.7/lib2to3/fixes/fix_itertools.pyRs

N(t__doc__tRt
fixer_utilRtBaseFixR(((s3/usr/lib64/python2.7/lib2to3/fixes/fix_itertools.pyt<module>s