File: //lib/python3/dist-packages/future/backports/html/__pycache__/__init__.cpython-310.pyc
o
,�]� �
@ 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�r J d��|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� translate�_escape_map_full�_escape_map)�s�quote� r �@/usr/lib/python3/dist-packages/future/backports/html/__init__.py�escape s
r N)T)�__doc__�
__future__r �ordr r r r r r r �<module> s �