• File: fix_isinstance.cpython-37.opt-2.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/lib2to3/fixes/__pycache__/fix_isinstance.cpython-37.opt-2.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 1.2 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

YI~dH@s.ddlmZddlmZGdddejZdS))
fixer_base)tokenc@s eZdZdZdZdZddZdS)
FixIsinstanceTz
    power<
        'isinstance'
        trailer< '(' arglist< any ',' atom< '('
            args=testlist_gexp< any+ >
        ')' > > ')' >
    >
    cCst}|d}|j}g}t|}xx|D]p\}}	|	jtjkrt|	j|krt|t|dkr||djtjkrt	|q&q&|
|	|	jtjkr&||	jq&W|r|djtjkr|d=t|dkr|j}
|
j
|d_
|
|dn||dd<|dS)Nargs)setZchildren	enumeratetyperNAMEvaluelenCOMMAnextappendaddparentprefixreplaceZchanged)selfZnoderesultsZnames_insertedZtestlistrZnew_argsiteratoridxargZatomrA/opt/alt/python37/lib64/python3.7/lib2to3/fixes/fix_isinstance.py	transforms*$
zFixIsinstance.transformN)__name__
__module____qualname__Z
BM_compatibleZPATTERNZ	run_orderrrrrrrsrN)rZ
fixer_utilrZBaseFixrrrrr<module>s