python (3.12.0)
̑e h d dl mZ d dlmZ d dlmZ d dlmZm Z m
Z
G d dej Zy) )
fixer_base)Node)python_symbols)NameArgListin_special_contextc e Zd ZdZdZdZd Zy)FixZipTzN
power< 'zip' args=trailer< '(' [any] ')' > [trailers=trailer*]
>
zfuture_builtins.zipc | j | ry t | ry |d j }d|_ g }d|v r.|d D cg c] }|j }}|D ] }d|_ t t
j t d |gd }t t
j t d t |g g|z }|j |_ |S c c}w )Nargs trailerszip)prefixlist) should_skipr cloner r symspowerr r )selfnoderesultsr r nnews I/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/lib2to3/fixes/fix_zip.py transformzFixZip.transform s D!d#v$$& +2:+>?a ?H?
4::UT22>4::Vgsen=HI[[
@s CN)__name__
__module____qualname__
BM_compatiblePATTERNskip_onr r r
r
s MG
$Gr$ r
N)
r
r pytreer pygramr r
fixer_utilr r r ConditionalFixr
r# r$ r <module>r) s- + : :Z
&
&