python (3.12.0)

(root)/
lib/
python3.12/
lib2to3/
fixes/
__pycache__/
fix_zip.cpython-312.opt-1.pyc

̑e	jdZddlmZddlmZddlmZddlm	Z	m
Z
mZGddejZ
y)	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)NameArgListin_special_contextceZdZdZdZdZdZy)FixZipTzN
    power< 'zip' args=trailer< '(' [any] ')' > [trailers=trailer*]
    >
    zfuture_builtins.zipc|j|ryt|ry|dj}d|_g}d|vr.|dDcgc]}|j}}|D]	}d|_t	t
jtd|gd}t	t
jtdt|gg|z}|j|_|Scc}w)Nargstrailerszip)prefixlist)	should_skiprclonerrsymspowerrr)selfnoderesultsrrnnews       I/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/lib2to3/fixes/fix_zip.py	transformzFixZip.transformsD!d#v$$& +2:+>?a	?H?

4::UT22>4::Vgsen=HI[[

@sCN)__name__
__module____qualname__
BM_compatiblePATTERNskip_onrrr
r
sMG
$Gr$r
N)__doc__r
rpytreerpygramrr
fixer_utilrrrConditionalFixr
r#r$r<module>r*s-+::Z
&
&r$