HEX
Server: Apache
System: Linux cpanelx.inxs.ro 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: crowdandsafety (1041)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/local/lib/python3.6/site-packages/libfuturize/fixes/__pycache__/fix_bytes.cpython-36.pyc
3

6	Eg��@sPdZddlmZddlZddlmZddlmZejd�Z	Gdd�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@seZdZdZdZdd�ZdS)�FixBytesT�STRINGcCs4|jtjkr0tj|j�r0|j�}d|j|_|SdS)N�b)�typerr�_literal_re�match�value�clone)�self�node�results�new�r�B/root/tmp/pip-build-f6rmvwrq/future/libfuturize/fixes/fix_bytes.py�	transforms
zFixBytes.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNrrrrrrsr)�__doc__�
__future__r�reZ
lib2to3.pgen2rZlib2to3r�compiler	ZBaseFixrrrrr�<module>s