HEX
Server: LiteSpeed
System: Linux altar40.supremepanel40.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: sescorpcl (4477)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib64/python2.7/site-packages/markupsafe/_native.pyc
�
2a�Qc@sEdZddlmZddlmZd�Zd�Zd�ZdS(s�
    markupsafe._native
    ~~~~~~~~~~~~~~~~~~

    Native Python implementation the C module is not compiled.

    :copyright: (c) 2010 by Armin Ronacher.
    :license: BSD, see LICENSE for more details.
i����(tMarkup(t	text_typecCset|d�r|j�Stt|�jdd�jdd�jdd�jdd	�jd
d��S(s�Convert the characters &, <, >, ' and " in string s to HTML-safe
    sequences.  Use this if you need to display text that might contain
    such characters in HTML.  Marks return value as markup string.
    t__html__t&s&amp;t>s&gt;t<s&lt;t's&#39;t"s&#34;(thasattrRRRtreplace(ts((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pytescapes
cCs|dkrt�St|�S(sMLike :func:`escape` but converts `None` into an empty
    markup string.
    N(tNoneRR(R
((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pyt
escape_silentscCs"t|t�st|�}n|S(soMake a string unicode if it isn't already.  That way a markup
    string is not converted back to unicode.
    (t
isinstanceR(R
((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pytsoft_unicode(sN(t__doc__t
markupsafeRtmarkupsafe._compatRRR
R(((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pyt<module>
s