/opt/imh/python3.13/lib/python3.13/xml/sax/__pycache__
Edit: /opt/imh/python3.13/lib/python3.13/xml/sax/__pycache__/saxutils.cpython-313.pyc (19878B)
e/ S r SSKrSSKrSSKrSSKrSSKrSSKJr SSKJ r S r
0 4S jr0 4S jr0 4S jr
S
r " S S\R 5 r " S
S\ R" 5 rSS jrg)znA library of useful helper classes to the SAX classes, for the
convenience of application and driver writers.
N )handler) xmlreaderc Z UR 5 H u p#U R X#5 n M U $ )z2Replace substrings of a string using a dictionary.)itemsreplace)sdkeyvalues 6/opt/imh/python3.13/lib/python3.13/xml/sax/saxutils.py__dict_replacer s' ggi
IIc! H c U R SS5 n U R SS5 n U R SS5 n U( a [ X5 n U $ )zEscape &, <, and > in a string of data.
You can escape other strings of data by passing a dictionary as
the optional entities parameter. The keys and values must all be
strings; each key will be replaced with its corresponding value.
&&>><<r r dataentitiess r
escaper sF <<W%D<<V$D<<V$Dd-Kr c U R SS5 n U R SS5 n U( a [ X5 n U R SS5 $ )zUnescape &, <, and > in a string of data.
You can unescape other strings of data by passing a dictionary as
the optional entities parameter. The keys and values must all be
strings; each key will be replaced with its corresponding value.
r r r r r r r r s r
unescaper " sB <<$D<<$Dd-<<%%r c 0 UESSSS.En[ X5 n SU ; a% SU ; a SU R SS5 - n U $ S U - n U $ SU - n U $ )
aw Escape and quote an attribute value.
Escape &, <, and > in a string of data, then quote it for use as
an attribute value. The " character will be escaped as well, if
necessary.
You can escape other strings of data by passing a dictionary as
the optional entities parameter. The keys and values must all be
strings; each key will be replaced with its corresponding value.
z
z
z )
"'z"%s"z"z'%s')r r r s r
quoteattrr$ 0 sn G(F'vFH$!D
d{$;DLLh77D
K D=D K }Kr c 6 ^ T c SS K nUR $ [ T [ R 5 ( a T $ [ T [
R [
R 45 ( a T $ [ T [ R 5 ( a " U 4S jS5 nU" 5 nS Ul OQ[ R " 5 nS Ul T R Ul T R Ul
T R Ul [ R " XASSSS 9$ ! [ a N#f = f)
Nr c <