f F ddlmZddlmZGddejZdS)) fixer_base)Namec:eZdZdZdZdezZdZdZdS) 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] ')' > > cfd}|dd}d|vrb|jdvrY|d|d}}|j}|||j||p|j}|t |jdd|dS)Nfuncit) ifilterfalse izip_longestdot)prefix)valuerremoveparentreplacer)selfnoderesultsrr rr s B/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_itertools.py transformzFixItertools.transformsvq! GOO J> > >u~wt}CYF IIKKK JJLLL K   % % %&4; T$*QRR.88899999N) __name__ __module__ __qualname__ BM_compatibleit_funcslocalsPATTERN run_orderrrrrrsKMHH FHH GI:::::rrN)r fixer_utilrBaseFixrr#rrr'sg::::::%:::::r