AlkantarClanX12

Your IP : 3.15.186.56


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

�
^
bc@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((s@/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_itertools.pyt	transforms	

(	t__name__t
__module__tTruet
BM_compatibletit_funcstlocalstPATTERNt	run_orderR(((s@/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_itertools.pyRs

N(t__doc__tRt
fixer_utilRtBaseFixR(((s@/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_itertools.pyt<module>s