MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/3/root/proc/2/cwd/usr/lib/python2.4/xml/sax/__init__.pyc
mņ
‚=5Dc@sWdZdklZdklZlZdklZlZl	Z	l
Z
lZeƒd„Zeƒd„Z
dgZdZeo
dkZndkZdkZeiid	ƒoeid	id
ƒZn[dZeid d
jo2eiieƒoeiieƒid
ƒZngd„Zeid d
jo
d„Zn
d„Z[dS(sŪ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.
(sInputSource(sContentHandlersErrorHandler(sSAXExceptionsSAXNotRecognizedExceptionsSAXParseExceptionsSAXNotSupportedExceptionsSAXReaderNotAvailablecCs4tƒ}|i|ƒ|i|ƒ|i|ƒdS(N(tmake_parsertparsertsetContentHandlerthandlertsetErrorHandlerterrorHandlertparsetsource(RRRR((t&/usr/lib/python2.4/xml/sax/__init__.pyRs	

cCsžydkl}Wn tj
odkl}nX|djo
tƒ}ntƒ}|i|ƒ|i
|ƒtƒ}|i
||ƒƒ|i|ƒdS(N(sStringIO(t	cStringIOtStringIOtImportErrorRtNonetErrorHandlerRRRRRtInputSourcetinpsrct
setByteStreamtstringR(RRRR
RR((RtparseString#s

	

	sxml.sax.expatreaderiNt
PY_SAX_PARSERt,spython.xml.sax.parseritjavacCsƒxm|tD]a}yt|ƒSWqtj
o,}dk}|ii|ƒo‚qlqt	j
oqXqWt	ddƒ‚dS(s&Creates and returns a SAX parser.

    Creates the first parser it is able to instantiate of the ones
    given in the list created by doing parser_list +
    default_parser_list.  The lists must contain the names of Python
    modules containing both a SAX parser and a create_parser function.NsNo parsers found(tparser_listtdefault_parser_listtparser_namet_create_parserRtetsystmodulesthas_keytSAXReaderNotAvailableR(RRRR((RRGs		cCs/dkl}|i|dtƒƒ}|iƒS(N(simpi(torg.python.coretimpt
importNameRtglobalst
drv_modulet
create_parser(RR R#((RRbs
cCs"t|hhdgƒ}|iƒS(NR$(t
__import__RR#R$(RR#((RRhs(t__doc__t	xmlreaderRRtContentHandlerR
t_exceptionstSAXExceptiontSAXNotRecognizedExceptiontSAXParseExceptiontSAXNotSupportedExceptionRRRRt_falsetxml.sax.expatreadertxmltosRtenvironRtsplitt_keytplatformtregistrytcontainsKeytgetPropertyRR(R0RRR+RRR
R(RRRR.R*R,R-RR1R4((Rt?s*
%	
'