AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python33/lib64/python3.3/xml/sax/__pycache__/ |
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/xml/sax/__pycache__/saxutils.cpython-33.pyo |
� ��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<