https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/markupsafe/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/markupsafe/_native.pyc
�
./�_c@sEdZddlmZddlmZd�Zd�Zd�ZdS(s�
markupsafe._native
~~~~~~~~~~~~~~~~~~

Native Python implementation used when the C module is not compiled.

:copyright: 2010 Pallets
:license: BSD-3-Clause
i(tMarkup(t	text_typecCskt|d�rt|j��Stt|�jdd�jdd�jdd�jdd	�jd
d��S(s�Replace the characters ``&``, ``<``, ``>``, ``'``, and ``"`` in
    the string with HTML-safe sequences. Use this if you need to display
    text that might contain such characters in HTML.

    If the object has an ``__html__`` method, it is called and the
    return value is assumed to already be safe for HTML.

    :param s: An object to be converted to a string and escaped.
    :return: A :class:`Markup` string with the escaped text.
    t__html__t&s&amp;t>s&gt;t<s&lt;t's&#39;t"s&#34;(thasattrRRRtreplace(ts((s8/tmp/pip-install-sTXtzD/MarkupSafe/markupsafe/_native.pytescapescCs|dkrt�St|�S(sLike :func:`escape` but treats ``None`` as the empty string.
    Useful with optional values, as otherwise you get the string
    ``'None'`` when the value is ``None``.

    >>> escape(None)
    Markup('None')
    >>> escape_silent(None)
    Markup('')
    N(tNoneRR(R
((s8/tmp/pip-install-sTXtzD/MarkupSafe/markupsafe/_native.pyt
escape_silent&s
cCs"t|t�st|�}n|S(s�Convert an object to a string if it isn't already. This preserves
    a :class:`Markup` string rather than converting it back to a basic
    string, so it will still be marked as safe and won't be escaped
    again.

    >>> value = escape('<User 1>')
    >>> value
    Markup('&lt;User 1&gt;')
    >>> escape(str(value))
    Markup('&amp;lt;User 1&amp;gt;')
    >>> escape(soft_unicode(value))
    Markup('&lt;User 1&gt;')
    (t
isinstanceR(R
((s8/tmp/pip-install-sTXtzD/MarkupSafe/markupsafe/_native.pytsoft_unicode5sN(t__doc__tRt_compatRRR
R(((s8/tmp/pip-install-sTXtzD/MarkupSafe/markupsafe/_native.pyt<module>
s
		

https://t.me/AnonymousX5 - 2025