HOME


sh-3ll 1.0
DIR:/usr/local/lib/python3.6/site-packages/future/backports/html/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.6/site-packages/future/backports/html/__pycache__/__init__.cpython-36.pyc
3

+��h��
@sfdZddlmZed�ded�ded�diZed�ded�ded�ded	�d
ed�diZddd�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&amp;�<z&lt;�>z&gt;�"z&quot;�'z&#x27;TcCs,t|t�std��|r"|jt�S|jt�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�E/root/tmp/pip-build-yeh9mt8d/future/future/backports/html/__init__.py�escapes
rN)T)�__doc__�
__future__r�ordr
rrrrrr�<module>s