ó o”þ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.pyts