python (3.12.0)

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

̑ed	ddlmZddlmZmZmZmZmZmZdZ	dZ
GddejZy))
fixer_base)CallCommaNameNode	BlankLinesymsz0(n='!=' | '==' | 'is' | n=comp_op< 'is' 'not' >)z(power< 'type' trailer< '(' x=any ')' > >c	XeZdZdZdedededed	ZfdZdZdZ	d	Z
d
ZxZS)	FixIdiomsTz 
        isinstance=comparison<  z8 T=any >
        |
        isinstance=comparison< T=any aX >
        |
        while_stmt< 'while' while='1' ':' any+ >
        |
        sorted=any<
            any*
            simple_stmt<
              expr_stmt< id1=any '='
                         power< list='list' trailer< '(' (not arglist<any+>) any ')' > >
              >
              '\n'
            >
            sort=
            simple_stmt<
              power< id2=any
                     trailer< '.' 'sort' > trailer< '(' ')' >
              >
              '\n'
            >
            next=any*
        >
        |
        sorted=any<
            any*
            simple_stmt< expr_stmt< id1=any '=' expr=any > '\n' >
            sort=
            simple_stmt<
              power< id2=any
                     trailer< '.' 'sort' > trailer< '(' ')' >
              >
              '\n'
            >
            next=any*
        >
    cVtt||}|rd|vr|d|dk(r|Sy|S)Nsortedid1id2)superrmatch)selfnoder	__class__s   L/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/lib2to3/fixes/fix_idioms.pyrzFixIdioms.matchOs<)T(.
Qx1U8#cd|vr|j||Sd|vr|j||Sd|vr|j||Std)N
isinstancewhilerz
Invalid match)transform_isinstancetransform_whiletransform_sortRuntimeError)rrresultss   r	transformzFixIdioms.transformZs^7",,T7;;

''g66

 &&tW55//rc0|dj}|dj}d|_d|_ttd|t	|g}d|vr,d|_ttjtd|g}|j|_|S)NxTrrnnot)cloneprefixrrrrr	not_test)rrr r#r$tests      rrzFixIdioms.transform_isinstancedsCL CL D&EGQ8'>DK

UT':;DkkrcZ|d}|jtd|jy)NrTruer))replacerr))rrr ones    rrzFixIdioms.transform_whileps#gD

34rc|d}|d}|jd}|jd}|r'|jtd|jnV|rI|j	}d|_|jttd|g|jnt
d|j|j}d	|vr~|r=|jd	d
|d
jf}	d	j|	|d
_yt}
|jj|
|jd	d
|
_yy)Nsortnextlistexprrr.r%zshould not have reached here
)
getr/rr)r(rrremove
rpartitionjoinrparentappend_child)rrr 	sort_stmt	next_stmt	list_callsimple_exprnewbtwnprefix_linesend_lines           rrzFixIdioms.transform_sortts3FO	FO	KK'	kk&)d8I4D4DEF
##%CCJT(^cU,7,>,>!@
A=>>4<!% 5a 8)A,:M:MN&*ii&=	!#
%;  --h7#'//$"7":!r)
__name__
__module____qualname__explicitTYPECMPPATTERNrr!rrr
__classcell__)rs@rrr%s6HNc4K%!GN	0
5$;rrN)
r%r
fixer_utilrrrrrr	rKrJBaseFixrrr<module>rQs3<AA81s;
""s;r