AlkantarClanX12
Current Path : /usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/ |
Current File : //usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/dom.pyo |
� ��abc @` sY d d l m Z m Z m Z d d l m Z d d l m Z d e j f d � � YZ d S( i ( t absolute_importt divisiont unicode_literals( t Nodei ( t baset TreeWalkerc B` s, e Z d � Z d � Z d � Z d � Z RS( c C` sX | j t j k r. t j | j | j | j f S| j t j t j f k rY t j | j f S| j t j k r� i } xg t | j j � � D]P } | j | � } | j r� | j | | j | j f <q� | j | d | j f <q� Wt j | j | j | | j � f S| j t j k rt j | j f S| j t j t j f k rDt j f St j | j f Sd S( N( t nodeTypeR t DOCUMENT_TYPE_NODER t DOCTYPEt namet publicIdt systemIdt TEXT_NODEt CDATA_SECTION_NODEt TEXTt nodeValuet ELEMENT_NODEt listt attributest keyst getAttributeNodet namespaceURIt valuet localNamet Nonet ELEMENTt nodeNamet hasChildNodest COMMENT_NODEt COMMENTt DOCUMENT_NODEt DOCUMENT_FRAGMENT_NODEt DOCUMENTt UNKNOWN( t selft nodet attrst attr( ( sH /usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/dom.pyt getNodeDetails s$ c C` s | j S( N( t firstChild( R"