https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/libpasteurize/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/libpasteurize/fixes/__pycache__/fix_newstyle.cpython-310.pyc
o

,�]x�@sNdZddlmZddlmZmZmZddlmZdd�Z	Gdd�dej
�Zd	S)
z8
Fixer for "class Foo: ..." -> "class Foo(object): ..."
�)�
fixer_base)�LParen�RParen�Name)�touch_import_topcCs0|�|t��|�|td��|�|t��dS)N�object)�insert_childrrr)�node�idx�r�B/usr/lib/python3/dist-packages/libpasteurize/fixes/fix_newstyle.py�
insert_objectsr
c@seZdZdZdd�ZdS)�FixNewstylez0classdef< 'class' NAME ['(' ')'] colon=':' any >cCsn|d}|j�|�}|j|djdkr*|j|djdkr*|j|d|�=|d8}t||�tdd|�dS)N�colon��(��)�builtinsr)�children�index�valuer
r)�selfr	�resultsrr
rrr�	transforms
zFixNewstyle.transformN)�__name__�
__module__�__qualname__�PATTERNrrrrrrsrN)�__doc__�lib2to3r�lib2to3.fixer_utilrrr�libfuturize.fixer_utilrr
�BaseFixrrrrr�<module>s

https://t.me/RX1948 - 2025