관리-도구
편집 파일: __init__.cpython-37.pyc
B �A�[� � @ sf d Z ddlmZ ed�ded�ded�diZed�ded�ded�ded �d ed�diZddd�ZdS )z� General functions for HTML manipulation, backported from Py3. Note that this uses Python 2.7 code with the corresponding Python 3 module names and locations. � )�unicode_literals�&z&�<z<�>z>�"z"�'z'Tc C s* t | t�rtd��|r | �t�S | �t�S )z� Replace special characters "&", "<" and ">" to HTML-safe sequences. If the optional flag quote is true (the default), the quotation mark characters, both double quote (") and single quote (') characters are also translated. zPass a unicode string)� isinstance�bytes�AssertionError� translate�_escape_map_full�_escape_map)�s�quote� r �O/opt/alt/python37/lib/python3.7/site-packages/future/backports/html/__init__.py�escape s r N)T)�__doc__� __future__r �ordr r r r r r r �<module> s