Viewing File: /usr/lib64/python2.7/site-packages/markupsafe/_native.pyc

ó
]†Lc@s5dZddlmZd„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ÿÿÿÿ(tMarkupcCset|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;(thasattrRRtunicodetreplace(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
markupsafeRRR
R(((s8/usr/lib64/python2.7/site-packages/markupsafe/_native.pyt<module>
s			
Back to Directory File Manager