grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a ´i ã@s2dZddlmZddlmZGdd„dejƒZdS)aT 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. é)Ú 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|vrV|jdvrV|d|d}}|j}| ¡| ¡|j |¡|p^|j}| t|jdd…|d�¡dS)NÚfuncéÚit)Ú ifilterfalseÚ izip_longestÚdoté)Úprefix)Úvaluer ÚremoveÚparentÚreplacer)ÚselfZnodeÚresultsr rr r©rú3/usr/lib64/python3.9/lib2to3/fixes/fix_itertools.pyÚ transforms ÿ  zFixItertools.transformN) Ú__name__Ú __module__Ú __qualname__Z BM_compatibleZit_funcsÚlocalsZPATTERNZ run_orderrrrrrrsú rN)Ú__doc__ÚrZ fixer_utilrZBaseFixrrrrrÚs