й¼] ã@s=ddlmZddlmZGdd„dejƒZdS)é)Ú fixer_base)ÚNamec@s;eZdZdZdZdeƒZdZdd„ZdS)Ú FixItertoolsTz7('imap'|'ifilter'|'izip'|'izip_longest'|'ifilterfalse')zì power< it='itertools' trailer< dot='.' func=%(it_funcs)s > trailer< '(' [any] ')' > > | power< func=%(it_funcs)s trailer< '(' [any] ')' > > écCsªd}|dd}d|krq|jd krq|d|d}}|j}|jƒ|jƒ|jj|ƒ|p}|j}|jt|jdd…d|ƒƒdS) NÚfuncéÚitÚ ifilterfalseÚ izip_longestÚdotéÚprefix)r r )Úvaluer ÚremoveÚparentÚreplacer)ÚselfZnodeÚresultsr rr r©rú2/opt/alt/python35/lib64/python3.5/fix_itertools.pyÚ transforms    zFixItertools.transformN) Ú__name__Ú __module__Ú __qualname__Z BM_compatibleZit_funcsÚlocalsZPATTERNZ run_orderrrrrrrs  rN)ÚrZ fixer_utilrZBaseFixrrrrrÚ s