+
    i  c                   sZ   R t ^RIHt ^RIHtHt ^RIHtHtH	t	H
t
Ht ]! 4       3R lt]! 4       3R ltR.t^ t]'       d   ^ RIt^ RIt^ RIt]P(                  P*                  '       g4   R]P,                  9   d#   ]P,                  R,          P/                  R	4      tAARR
 ltR t. ROtR# )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                 s    \        4       pVP                  V4       VP                  V4       VP                  V 4       R # )N)make_parsersetContentHandlersetErrorHandlerparse)ZsourcehandlererrorHandlerparsers   &&& )/usr/lib64/python3.14/xml/sax/__init__.pyr   r      s1    ]F
W%
<(
LL    c                 sf   ^ RI pVf   \        4       p\        4       pVP                  V4       VP	                  V4       \        4       p\        V \        4      '       d"   VP                  VP                  V 4      4       M VP                  VP                  V 4      4       VP                  V4       R# )i    N)ior   r   r	   r
   r    Z
isinstanceZstrZsetCharacterStreamZStringIOZsetByteStreamZBytesIOr   )Zstringr   r   r   r   Zinpsrcs   &&&   r   parseStringr   #   s    #~]F
W%
<(]F&#!!"++f"56RZZ/0
LLr   zxml.sax.expatreaderNZPY_SAX_PARSERZ,c                s    \        V 4      \        ,            F  p \        V4      u # 	  \        RR4      h  \         d    ^ RIpYP
                  9   d   h  KB  \         d     KO  i ; i)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.NzNo parsers found)Zlistdefault_parser_list_create_parserZImportErrorsysZmodulesr   )Zparser_listparser_namer   s   &  r   r   r   B   ss     K(+>>>	!+.. ?   2D
99  	kk)  * % 	 	s   
6 A'A'"A'&A'c                 s@    \        V / / R .4      pVP                  4       # )create_parser)Z
__import__r   )r   Z
drv_modules   & r   r   r   \   s$    K2.?@J##%%r   ) )r   r   r    r   r   r   r   r   r   r   r   r   )Z__doc__Z	xmlreaderr    r   r   r   Z_exceptionsr   r   r   r   r   r   r   r   Z_falseZxml.sax.expatreaderZxmlZosr   ZflagsZignore_environmentZenvironZsplitr   r   Z__all__r   r   r   <module>r      s   * # 11 1
 )5  /;n $ --  
	 
yy###2::(E**_5;;C@:4&
Ir   