File "saxutils.cpython-33.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python33/lib64/python3.3/xml/sax/__pycache__/saxutils.cpython-33.pyc
File size: 20.23 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
f/ c @ s d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d Z
i d d Z i d
d Z i d d
Z
d d Z Gd d d e j Z Gd d d e j Z d d d Z d S( un A library of useful helper classes to the SAX classes, for the
convenience of application and driver writers.
i Ni ( u handler( u xmlreaderc C s3 x, | j D] \ } } | j | | } q
W| S( u2 Replace substrings of a string using a dictionary.( u itemsu replace( u su du keyu value( ( u5 /opt/alt/python33/lib64/python3.3/xml/sax/saxutils.pyu __dict_replace s u __dict_replacec C sR | j d d } | j d d } | j d d } | rN t | | } n | S( u Escape &, <, 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.
u &u &u >u >u <u <( u replaceu __dict_replace( u datau entities( ( u5 /opt/alt/python33/lib64/python3.3/xml/sax/saxutils.pyu escape s u escapec C sL | j d d } | j d d } | r<