HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/libfuturize/fixes/__pycache__/fix_bytes.cpython-310.pyc
o

,�]��@sPdZddlmZddlZddlmZddlmZe�d�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�STRINGcCs8|jtjkrt�|j�r|��}d|j|_|SdSdS)N�b)�typerr�_literal_re�match�value�clone)�self�node�results�new�r�=/usr/lib/python3/dist-packages/libfuturize/fixes/fix_bytes.py�	transforms�zFixBytes.transformN)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNrrrrrrsr)�__doc__�
__future__r�re�
lib2to3.pgen2r�lib2to3r�compiler	�BaseFixrrrrr�<module>s