/opt/alt/python-internal/lib64/python3.11/xml/sax/__pycache__
Edit: /opt/alt/python-internal/lib64/python3.11/xml/sax/__pycache__/saxutils.cpython-311.pyc (21597B)
§
\ßè%œû«ã óÈ — d Z ddlZddlZddlZddlZddlZddlmZ ddlm Z d„ Z
i fd„Zi fd„Zi fd „Z
d
„ Z G d„ dej ¦ « Z G d
„ de j ¦ « Zdd„ZdS )znA library of useful helper classes to the SAX classes, for the
convenience of application and driver writers.
é Né )Úhandler)Ú xmlreaderc óf — | ¦ « D ]\ }}| ||¦ « } Œ| S )z2Replace substrings of a string using a dictionary.)ÚitemsÚreplace)ÚsÚdÚkeyÚvalues ú=/opt/alt/python-internal/lib64/python3.11/xml/sax/saxutils.pyÚ__dict_replacer s7 € à—g’g‘i”ið "ð "‰
ˆˆUØ
�IŠI�c˜5Ñ!Ô!ˆˆØ€Hó c ó® — | dd¦ « } | dd¦ « } | dd¦ « } |rt | |¦ « } | S )züEscape &, <, 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 ©ÚdataÚentitiess r
Úescaper sY € ð �<Š<˜˜WÑ%Ô%€DØ�<Š<˜˜VÑ$Ô$€DØ�<Š<˜˜VÑ$Ô$€DØð .ݘd HÑ-Ô-ˆØ€Kr c óª — | dd¦ « } | dd¦ « } |rt | |¦ « } | dd¦ « S )a
Unescape &, <, 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 " sU € ð �<Š<˜ Ñ$Ô$€DØ�<Š<˜ Ñ$Ô$€DØð .ݘd HÑ-Ô-ˆà�<Š<˜ Ñ%Ô%Ð%r c ó” — i |¥ddddœ¥}t | |¦ « } d| v r$d| v rd| dd¦ « z } nd | z } nd| z } | S )
a“ 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 sr € ð G�(ÐF '°¸vÐFÐFÐF€HÝ�$˜Ñ!Ô!€DØ
ˆd€{€{Ø�$ˆ;ˆ;ؘDŸLšL¨¨hÑ7Ô7Ñ7ˆDˆDà˜D‘=ˆDˆDà˜‰}ˆØ€Kr c óò ‡ — ‰ €dd l }|j S t ‰ t j ¦ « r‰ S t ‰ t
j t
j f¦ « r‰ S t ‰ t j ¦ « r" G ˆ fd„d¦ « } |¦ « }d„ |_ nQt j
¦ « }d„ |_ ‰ j |_ ‰ j
|_
‰ j |_ n# t $ r Y nw xY wt j ||ddd¬ ¦ « S )
Nr c ó( •— e Zd Z” j Zˆ fd„ZdS )ú _gettextwriter.
._wrapperc ó$ •— t ‰|¦ « S ©N)Úgetattr)ÚselfÚnameÚouts €r
Ú__getattr__z,_gettextwriter.._wrapper.__getattr__Z s ø€ ݘs DÑ)Ô)Ð)r N)Ú__name__Ú
__module__Ú__qualname__Ú __class__r. )r- s €r
Ú_wrapperr' X s5 ø€ € € € € Øœ
ˆIð
*ð
*ð
*ð
*ð
*ð
*ð
*r r3 c ó — d S r) © r5 r r
úz _gettextwriter..] s € ˜t€ r c ó — dS )NTr5 r5 r r
r6 z _gettextwriter..b s € $€ r Úxmlcharrefreplacer T)ÚencodingÚerrorsÚnewlineÚ
write_through)ÚsysÚstdoutÚ
isinstanceÚioÚ
TextIOBaseÚcodecsÚStreamWriterÚStreamReaderWriterÚ RawIOBaseÚcloseÚBufferedIOBaseÚwritableÚwriteÚseekableÚtellÚAttributeErrorÚ
TextIOWrapper)r- r9 r= r3 Úbuffers ` r
Ú_gettextwriterrO G s8 ø€ Ø
€{؈
ˆ
ˆ
ØŒzÐå�#•r”}Ñ%Ô%ð àˆ
å�#�Ô+VÔ-FÐGÑHÔHð àˆ
õ �#•r”|Ñ$Ô$ð ð *ð *ð *ð *ð *ð *ð *ñ *ô *ð *ð �‘”ˆØ#�|ˆŒˆõ Ô"Ñ$Ô$ˆØ&˜,ˆŒØ”yˆŒð ð "œlˆFŒOØœ(ˆFŒKˆKøÝð ð ð ØˆDð øøøå
Ô˜F¨XØ#6Ø$(Ø*.ð0ñ 0ô 0ð 0s Â7C Ã
CÃCc óf — e Zd Zdd„Zd„ Zdd„Zd„ Zd„ Zd „ Zd
„ Z d„ Z
d„ Zd
„ Zd„ Z
d„ Zd„ Zd„ ZdS )ÚXMLGeneratorNú
iso-8859-1Fc ó — t j | ¦ « t ||¦ « }|j | _ |j | _ i g| _ | j d | _ g | _
|| _ || _ d| _
d S )NéÿÿÿÿF)r ÚContentHandlerÚ__init__rO rI Ú_writeÚflushÚ_flushÚ_ns_contextsÚ_current_contextÚ_undeclared_ns_mapsÚ _encodingÚ_short_empty_elementsÚ_pending_start_element)r+ r- r9 Úshort_empty_elementss r
rV zXMLGenerator.__init__r sy € ÝÔ×'Ò'¨Ñ-Ô-Ð-ݘS (Ñ+Ô+ˆØ”iˆŒØ”iˆŒØ˜DˆÔØ $Ô 1°"Ô 5ˆÔØ#%ˆÔ Ø!ˆŒØ%9ˆÔ"Ø&+ˆÔ#Ð#Ð#r c ó– — |d r:d|d k rd|d z S | j |d }|r|dz |d z S |d S )z7Builds a qualified name from a (ns_url, localname) pairr z$http://www.w3.org/XML/1998/namespacezxml:r ú:)r[ )r+ r, Úprefixs r
Ú_qnamezXMLGenerator._qname~ sc € à�Œ7ð .ð
6¸¸a¼Ò@Ð@Ø Q¤Ñ'Ð'àÔ*¨4°¬7Ô3ˆFØð
.à ‘| d¨1¤gÑ-Ð-à�AŒwˆr c óP — | j r| d¦ « d| _ d S d S )Nr F©r_ rW )r+ Ú
endElements r
Ú_finish_pending_start_elementz*XMLGenerator._finish_pending_start_element� s7 € ØÔ&ð