/opt/alt/python311/lib64/python3.11/xml/sax/__pycache__
Edit: /opt/alt/python311/lib64/python3.11/xml/sax/__pycache__/__init__.cpython-311.pyc (5079B)
§
Ó4œ$Òuvã óþ — d Z ddlmZ ddlmZmZ ddlmZmZm Z m
Z
mZ e¦ « fd„Z e¦ « fd„Z
dgZdZerdd lZdd lZdd lZej j s)d
ej v r ej d
d¦ « Z[dZej d d
… dk rGej e¦ « r-ej e¦ « d¦ « Zdd„Zej d d
… dk rd„ Znd„ Z[d S )aÛ Simple API for XML (SAX) implementation for Python.
This module provides an implementation of the SAX 2 interface;
information about the Java version of the interface can be found at
http://www.megginson.com/SAX/. The Python version of the interface is
documented at <...>.
This package contains the following modules:
handler -- Base classes and constants which define the SAX 2 API for
the 'client-side' of SAX for Python.
saxutils -- Implementation of the convenience classes commonly used to
work with SAX.
xmlreader -- Base classes and constants which define the SAX 2 API for
the parsers used with SAX for Python.
expatreader -- Driver that allows use of the Expat parser with SAX.
é )ÚInputSource)ÚContentHandlerÚErrorHandler)ÚSAXExceptionÚSAXNotRecognizedExceptionÚSAXParseExceptionÚSAXNotSupportedExceptionÚSAXReaderNotAvailablec ó — t ¦ « }| |¦ « | |¦ « | | ¦ « d S )N)Úmake_parserÚsetContentHandlerÚsetErrorHandlerÚparse)ÚsourceÚhandlerÚerrorHandlerÚparsers ú7/opt/alt/python311/lib64/python3.11/xml/sax/__init__.pyr r sK € Ý
‰]Œ]€FØ
×Ò˜WÑ%Ô%Ð%Ø
×Ò˜<Ñ(Ô(Ð(Ø
‡L‚L�ÑÔÐÐÐó c ó° — dd l }|€t ¦ « }t ¦ « }| |¦ « | |¦ « t ¦ « }t
| t ¦ « r)| | | ¦ « ¦ « n(|
| | ¦ « ¦ « | |¦ « d S )Né )
Úior r r
r r Ú
isinstanceÚstrÚsetCharacterStreamÚStringIOÚ
setByteStreamÚBytesIOr )Ústringr r r r Úinpsrcs r ÚparseStringr! # sÁ € Ø
€I€I€IØÐÝ#‘~”~ˆÝ
‰]Œ]€FØ
×Ò˜WÑ%Ô%Ð%Ø
×Ò˜<Ñ(Ô(Ð(å
‰]Œ]€FÝ�&�#ÑÔð 1Ø×!Ò! "§+¢+¨fÑ"5Ô"5Ñ6Ô6Ð6Ð6à×Ò˜RŸZšZ¨Ñ/Ô/Ñ0Ô0Ð0Ø
‡L‚L�ÑÔÐÐÐr zxml.sax.expatreaderr NÚ
PY_SAX_PARSERú,zpython.xml.sax.parseré Újava© c óÊ — t | ¦ « t z D ]<} t |¦ « c S # t $ r ddl}||j v r‚ Y Œ.t $ r Y Œ9w xY wt
dd¦ « ‚)a3 Creates and returns a SAX parser.
Creates the first parser it is able to instantiate of the ones
given in the iterable created by chaining parser_list and
default_parser_list. The iterables must contain the names of Python
modules containing both a SAX parser and a create_parser function.r NzNo parsers found)ÚlistÚdefault_parser_listÚ_create_parserÚImportErrorÚsysÚmodulesr
)Úparser_listÚparser_namer, s r r r F s¦ € õ ˜KÑ(Ô(Õ+>Ñ>ð ð ˆð Ý! +Ñ.Ô.Ð.Ð.Ð.øÝð ð ð ØˆJˆJˆJؘcœkÐ)Ð)ð ð *Ð)õ %ð ð ð ð
ˆDð øøøõ
Ð 2°DÑ
9Ô
9Ð9s ›,¬AÁ AÁAc ó| — ddl m} | | dt ¦ « ¦ « }| ¦ « S )Nr )Úimp)Úorg.python.corer1 Ú
importNameÚglobalsÚ
create_parser)r/ r1 Ú
drv_modules r r* r* a s? € Ø'Ð'Ð'Ð'Ð'Ð'Ø—^’^ K°µG±I´IÑ>Ô>ˆ
Ø×'Ò'Ñ)Ô)Ð)r c óP — t | i i dg¦ « }| ¦ « S )Nr5 )Ú
__import__r5 )r/ r6 s r r* r* g s* € Ý ¨B¨r°?Ð2CÑDÔDˆ
Ø×'Ò'Ñ)Ô)Ð)r )r&