Submit
Path:
~
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
libpasteurize
/
fixes
/
__pycache__
/
File Content:
fix_newstyle.cpython-311.pyc
� �|oix � �b � d Z ddlmZ ddlmZmZmZ ddlmZ d� Z G d� dej � � ZdS ) z8 Fixer for "class Foo: ..." -> "class Foo(object): ..." � )� fixer_base)�LParen�RParen�Name)�touch_import_topc �� � | � |t � � � � | � |t d� � � � | � |t � � � � d S )N�object)�insert_childr r r )�node�idxs �r/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/libpasteurize/fixes/fix_newstyle.py� insert_objectr sX � ����c�6�8�8�$�$�$����c�4� �?�?�+�+�+����c�6�8�8�$�$�$�$�$� c � � e Zd ZdZd� ZdS )�FixNewstylez0classdef< 'class' NAME ['(' ')'] colon=':' any >c � � |d }|j � |� � }|j |dz j dk r+|j |dz j dk r|j |dz |�= |dz }t ||� � t dd|� � d S )N�colon� �(� �)�builtinsr )�children�index�valuer r )�selfr �resultsr r s r � transformzFixNewstyle.transform s� � ���!���m�!�!�%�(�(���M�#�a�%� �&�#�-�-��M�#�a�%� �&�#�-�-�� �c�!�e�C�i�(��1�H�C��d�C� � � ���h��5�5�5�5�5r N)�__name__� __module__�__qualname__�PATTERNr � r r r r s+ � � � � � � B�G�6� 6� 6� 6� 6r r N)�__doc__�lib2to3r �lib2to3.fixer_utilr r r �libfuturize.fixer_utilr r �BaseFixr r# r r �<module>r) s� ��� � � � � � � � 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3� 3�%� %� %� 6� 6� 6� 6� 6�*�$� 6� 6� 6� 6� 6r
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-311.pyc
947 bytes
0644
feature_base.cpython-311.pyc
3446 bytes
0644
fix_add_all__future__imports.cpython-311.pyc
1414 bytes
0644
fix_add_all_future_builtins.cpython-311.pyc
1451 bytes
0644
fix_add_future_standard_library_import.cpython-311.pyc
1235 bytes
0644
fix_annotations.cpython-311.pyc
2873 bytes
0644
fix_division.cpython-311.pyc
1787 bytes
0644
fix_features.cpython-311.pyc
3142 bytes
0644
fix_fullargspec.cpython-311.pyc
1159 bytes
0644
fix_future_builtins.cpython-311.pyc
2102 bytes
0644
fix_getcwd.cpython-311.pyc
1549 bytes
0644
fix_imports.cpython-311.pyc
5096 bytes
0644
fix_imports2.cpython-311.pyc
7630 bytes
0644
fix_kwargs.cpython-311.pyc
6722 bytes
0644
fix_memoryview.cpython-311.pyc
1237 bytes
0644
fix_metaclass.cpython-311.pyc
3764 bytes
0644
fix_newstyle.cpython-311.pyc
1983 bytes
0644
fix_next.cpython-311.pyc
2390 bytes
0644
fix_printfunction.cpython-311.pyc
1034 bytes
0644
fix_raise.cpython-311.pyc
2360 bytes
0644
fix_raise_.cpython-311.pyc
2505 bytes
0644
fix_throw.cpython-311.pyc
1809 bytes
0644
fix_unpacking.cpython-311.pyc
12435 bytes
0644
N4ST4R_ID | Naxtarrr