Submit
Path:
~
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
libfuturize
/
fixes
/
__pycache__
/
File Content:
fix_bytes.cpython-311.pyc
� �|oi� � �| � d Z ddlmZ ddlZddlmZ ddlmZ ej d� � Z G d� dej � � ZdS ) z�Optional fixer that changes all unprefixed string literals "..." to b"...". br'abcd' is a SyntaxError on Python 2 but valid on Python 3. ur'abcd' is a SyntaxError on Python 3 but valid on Python 2. � )�unicode_literalsN)�token)� fixer_basez[^bBuUrR]?[\'\"]c � � e Zd ZdZdZd� ZdS )�FixBytesT�STRINGc � � |j t j k rDt � |j � � r'|� � � }d|j z |_ |S d S d S )N�b)�typer r �_literal_re�match�value�clone)�self�node�results�news �m/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/libfuturize/fixes/fix_bytes.py� transformzFixBytes.transform s[ � ��9���$�$�� � ���,�,� ��j�j�l�l�� �3�9�,�� �� � %�$� � � N)�__name__� __module__�__qualname__� BM_compatible�PATTERNr � r r r r s- � � � � � ��M��G�� � � � r r )�__doc__� __future__r �re� lib2to3.pgen2r �lib2to3r �compiler �BaseFixr r r r �<module>r$ s� ��� � (� '� '� '� '� '� � � � � � � � � � � � � � � � ��b�j�,�-�-�� � � � � �z�!� � � � � r
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-311.pyc
2229 bytes
0644
fix_UserDict.cpython-311.pyc
3858 bytes
0644
fix_absolute_import.cpython-311.pyc
3819 bytes
0644
fix_add__future__imports_except_unicode_literals.cpython-311.pyc
1392 bytes
0644
fix_basestring.cpython-311.pyc
1043 bytes
0644
fix_bytes.cpython-311.pyc
1513 bytes
0644
fix_cmp.cpython-311.pyc
1426 bytes
0644
fix_division.cpython-311.pyc
493 bytes
0644
fix_division_safe.cpython-311.pyc
4921 bytes
0644
fix_execfile.cpython-311.pyc
1659 bytes
0644
fix_future_builtins.cpython-311.pyc
2305 bytes
0644
fix_future_standard_library.cpython-311.pyc
1428 bytes
0644
fix_future_standard_library_urllib.cpython-311.pyc
1534 bytes
0644
fix_input.cpython-311.pyc
1455 bytes
0644
fix_metaclass.cpython-311.pyc
11932 bytes
0644
fix_next_call.cpython-311.pyc
4991 bytes
0644
fix_object.cpython-311.pyc
1046 bytes
0644
fix_oldstr_wrap.cpython-311.pyc
2033 bytes
0644
fix_order___future__imports.cpython-311.pyc
1239 bytes
0644
fix_print.cpython-311.pyc
4801 bytes
0644
fix_print_with_import.cpython-311.pyc
1308 bytes
0644
fix_raise.cpython-311.pyc
4142 bytes
0644
fix_remove_old__future__imports.cpython-311.pyc
1557 bytes
0644
fix_unicode_keep_u.cpython-311.pyc
1516 bytes
0644
fix_unicode_literals_import.cpython-311.pyc
1050 bytes
0644
fix_xrange_with_import.cpython-311.pyc
1235 bytes
0644
N4ST4R_ID | Naxtarrr