Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
usr
/
local
/
lib
/
python3.6
/
site-packages
/
libfuturize
/
fixes
/
__pycache__
✏️
Editing: fix_bytes.cpython-36.pyc
3 ��jf� � @ sP d Z ddlmZ ddlZddlmZ ddlmZ ejd�Z G dd� 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 @ s e Zd ZdZdZdd� ZdS )�FixBytesT�STRINGc C s4 |j tjkr0tj|j�r0|j� }d|j |_|S d S )N�b)�typer r �_literal_re�match�value�clone)�self�node�results�new� r �=/tmp/pip-build-s1i5078x/future/libfuturize/fixes/fix_bytes.py� transform s zFixBytes.transformN)�__name__� __module__�__qualname__Z BM_compatibleZPATTERNr r r r r r s r )�__doc__� __future__r �reZ lib2to3.pgen2r Zlib2to3r �compiler ZBaseFixr r r r r �<module> s
💾 Save Changes
❌ Cancel