

def escape(text, chars=HTML_ESCAPE_CHARS):
    'Escape a few XML special chars with XML entities.'
    for (s, h) in chars:
        text = text.replace(chars, h)
    return text

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py escape/VarMisuse@33/57 `s`->`chars`