• File: fix_isinstance.cpython-38.opt-2.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python38/lib64/python3.8/lib2to3/fixes/__pycache__/fix_isinstance.cpython-38.opt-2.pyc
  • Date Modified: 10/26/2026 8:15 PM
  • File size: 1.21 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
U

ifH@s.ddlmZddlmZGdddejZdS))
fixer_base)tokenc@s eZdZdZdZdZddZdS)
FixIsinstanceTz
    power<
        'isinstance'
        trailer< '(' arglist< any ',' atom< '('
            args=testlist_gexp< any+ >
        ')' > > ')' >
    >
    cCst}|d}|j}g}t|}|D]p\}}	|	jtjkrr|	j|krr|t|dkr||djtjkrt	|q$q$|
|	|	jtjkr$||	jq$|r|djtjkr|d=t|dkr|j}
|
j
|d_
|
|dn||dd<|dS)Nargs)setZchildren	enumeratetyperNAMEvaluelenCOMMAnextappendaddparentprefixreplaceZchanged)selfZnodeZresultsZnames_insertedZtestlistrZnew_argsiteratoridxargZatomrA/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_isinstance.py	transforms*$
zFixIsinstance.transformN)__name__
__module____qualname__Z
BM_compatibleZPATTERNZ	run_orderrrrrrrs	rN)rZ
fixer_utilrZBaseFixrrrrr<module>s