grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a ´i ã@sRdZddlmZddlmZddlmZddlm Z m Z m Z Gdd„dej ƒZ dS) a7 Fixer that changes zip(seq0, seq1, ...) into list(zip(seq0, seq1, ...) unless there exists a 'from future_builtins import zip' statement in the top-level namespace. We avoid the transformation if the zip() call is directly contained in iter(<>), list(<>), tuple(<>), sorted(<>), ...join(<>), or for V in <>:. é)Ú fixer_base)ÚNode)Úpython_symbols)ÚNameÚArgListÚin_special_contextc@s eZdZdZdZdZdd„ZdS)ÚFixZipTzN power< 'zip' args=trailer< '(' [any] ')' > [trailers=trailer*] > zfuture_builtins.zipcCsœ| |¡rdSt|ƒrdS|d ¡}d|_g}d|vrZdd„|dDƒ}|D] }d|_qNttjtdƒ|gdd�}ttjtdƒt|gƒg|ƒ}|j|_|S) NÚargsÚÚtrailerscSsg|] }| ¡‘qS©)Úclone)Ú.0Únr r ú-/usr/lib64/python3.9/lib2to3/fixes/fix_zip.pyÚ 'óz$FixZip.transform..Úzip)ÚprefixÚlist) Z should_skiprr rrÚsymsZpowerrr)ÚselfZnodeÚresultsr r rÚnewr r rÚ transforms  zFixZip.transformN)Ú__name__Ú __module__Ú __qualname__Z BM_compatibleZPATTERNZskip_onrr r r rrsrN)Ú__doc__r rZpytreerZpygramrrZ fixer_utilrrrZConditionalFixrr r r rÚs