. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/ |
Upload File : |
�
��fH c @ sC d Z d d l m Z d d l m Z Gd d � d e j � Z d S( u, Fixer that cleans up a tuple argument to isinstance after the tokens
in it were fixed. This is mainly used to remove double occurrences of
tokens as a leftover of the long -> int / unicode -> str conversion.
eg. isinstance(x, (int, long)) -> isinstance(x, (int, int))
-> isinstance(x, int)
i ( u
fixer_base( u tokenc B s2 | Ee Z d Z d Z d Z d Z d d � Z d S( u
FixIsinstanceu�
power<
'isinstance'
trailer< '(' arglist< any ',' atom< '('
args=testlist_gexp< any+ >
')' > > ')' >
>
i c C s^ t � } | d } | j } g } t | � } x� | D]� \ } } | j t j k r� | j | k r� | t | � d k r� | | d j t j k r� t | � q5 q� q5 | j
| � | j t j k r5 | j | j � q5 q5 W| r| d j t j k r| d =n t | � d k r@| j }
|
j
| d _
|
j | d � n | | d d � <| j � d S( Nu argsi i i����i����( u setu childrenu enumerateu typeu tokenu NAMEu valueu lenu COMMAu nextu appendu addu parentu prefixu replaceu changed( u selfu nodeu resultsu names_insertedu testlistu argsu new_argsu iteratoru idxu argu atom( ( uA /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_isinstance.pyu transform s*
!0
u FixIsinstance.transformNT( u __name__u
__module__u __qualname__u Trueu
BM_compatibleu PATTERNu run_orderu transform( u
__locals__( ( uA /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_isinstance.pyu
FixIsinstance s u
FixIsinstanceN( u __doc__u u
fixer_baseu
fixer_utilu tokenu BaseFixu
FixIsinstance( ( ( uA /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_isinstance.pyu <module>
s