⚝
One Hat Cyber Team
⚝
Your IP:
160.79.109.140
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.6
/
lib2to3
/
fixes
/
__pycache__
/
View File Name :
fix_isinstance.cpython-36.pyc
3 \H � @ s2 d Z ddlmZ ddlmZ G dd� dej�ZdS )a, 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) � )� fixer_base)�tokenc @ s e Zd ZdZdZdZdd� ZdS )� FixIsinstanceTz� power< 'isinstance' trailer< '(' arglist< any ',' atom< '(' args=testlist_gexp< any+ > ')' > > ')' > > � c C s� t � }|d }|j}g }t|�}xx|D ]p\}} | jtjkrt| j|krt|t|�d k r�||d jtjkr�t |� q&q&|j | � | jtjkr&|j| j� q&W |r�|d jtjkr�|d= t|�dkr�|j} | j |d _ | j|d � n||d d �<