⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
lib2to3
/
fixes
/
__pycache__
/
View File Name :
fix_isinstance.cpython-310.pyc
o bcH @ s2 d Z ddlmZ ddlmZ G dd dejZdS )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|}|D ]8\}} | jtjkr9| j|v r9|t|d k r8||d jtjkr8t | qq| | | jtjkrJ|| j q|rX|d jtjkrX|d= t|dkrp|j} | j |d _ | |d d S ||d d <