ó
    F\h¦  ã                   óB  • S r SSKJr  SSKJrJr  SSKJrJrJ	r	J
r
Jr  \" 5       4S jr\" 5       4S jrS/rSr\(       a  SS	KrSS	KrSS	Kr\R(                  R*                  (       d.  S
\R,                  ;   a  \R,                  S
   R/                  S5      rCCSS jrS rg	)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                 ó~   • [        5       nUR                  U5        UR                  U5        UR                  U 5        g )N)Úmake_parserÚsetContentHandlerÚsetErrorHandlerÚparse)ÚsourceÚhandlerÚerrorHandlerÚparsers       Ú'/usr/lib/python3.13/xml/sax/__init__.pyr   r      s1   € Ü‹]€FØ
×Ñ˜WÔ%Ø
×Ñ˜<Ô(Ø
‡L�L�Õó    c                 ó`  • SS K nUc
  [        5       n[        5       nUR                  U5        UR	                  U5        [        5       n[        U [        5      (       a!  UR                  UR                  U 5      5        O UR                  UR                  U 5      5        UR                  U5        g )Né    )Úior   r   r   r   r   Ú
isinstanceÚstrÚsetCharacterStreamÚStringIOÚsetByteStreamÚBytesIOr   )Ústringr   r   r   r   Úinpsrcs         r   ÚparseStringr!   #   sƒ   € ÛØÑÜ#“~ˆÜ‹]€FØ
×Ñ˜WÔ%Ø
×Ñ˜<Ô(ä‹]€FÜ�&œ#×ÑØ×!Ñ! "§+¡+¨fÓ"5Õ6à×Ñ˜RŸZ™Z¨Ó/Ô0Ø
‡L�L�Õr   zxml.sax.expatreaderr   NÚPY_SAX_PARSERÚ,c                 óÆ   • [        U 5      [        -    H  n [        U5      s  $    [        SS5      e! [         a    SSKnXR
                  ;   a  e  M@  [         a     ML  f = f)a#  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   NzNo parsers found)ÚlistÚdefault_parser_listÚ_create_parserÚImportErrorÚsysÚmodulesr
   )Úparser_listÚparser_namer)   s      r   r   r   B   sp   € ô ˜KÓ(Ô+>Ô>ˆð	Ü! +Ó.Ò.ñ ?ô  Ð 2°DÓ
9Ð9øô ó 	ÛØŸk™kÓ)ð ò *ô %ó 	ò ð	ús   —
2²A Á	A ÁA c                 ó@   • [        U 0 0 S/5      nUR                  5       $ )NÚcreate_parser)Ú
__import__r.   )r,   Ú
drv_modules     r   r'   r'   \   s$   € Ü˜K¨¨2¨Ð.?Ó@€JØ×#Ñ#Ó%Ð%r   )© )Ú__doc__Ú	xmlreaderr   r   r   r   Ú_exceptionsr   r   r   r	   r
   r   r!   r&   Ú_falseÚxml.sax.expatreaderÚxmlÚosr)   ÚflagsÚignore_environmentÚenvironÚsplitr   r'   r1   r   r   Ú<module>r=      s�   ðñõ* #ß 1÷.õ .ñ
 )5«ô ñ /;«nô ð$ -Ð-Ð ð 
€Þ	Ûç Ø
‡y�y×#×#¨¸2¿:¹:Ó(EØŸ*™* _Ñ5×;Ñ;¸CÓ@ÐØˆô:ó4&r   