ok
Direktori : /proc/thread-self/root/usr/lib64/python2.7/site-packages/lxml/html/ |
Current File : //proc/thread-self/root/usr/lib64/python2.7/site-packages/lxml/html/_html5builder.pyc |
� �ePc @ s{ d Z d d l m Z m Z d d l m Z m Z d e f d � � YZ d e f d � � YZ d e j f d � � YZ d S( s� Legacy module - don't use in new code! html5lib now has its own proper implementation. This module implements a tree builder for html5lib that generates lxml html element trees. This module uses camelCase as it follows the html5lib style guide. i����( t _baset etree( t htmlR t DocumentTypec B s e Z d � Z RS( c C s | | _ | | _ | | _ d S( N( t namet publicIdt systemId( t selfR R R ( ( s= /usr/lib64/python2.7/site-packages/lxml/html/_html5builder.pyt __init__ s ( t __name__t __module__R ( ( ( s= /usr/lib64/python2.7/site-packages/lxml/html/_html5builder.pyR s t Documentc B s e Z d � Z d � Z RS( c C s d | _ g | _ d S( N( t Nonet _elementTreet childNodes( R ( ( s= /usr/lib64/python2.7/site-packages/lxml/html/_html5builder.pyR s c C s | j j � j | j � d S( N( R t getroott addnextt _element( R t element( ( s= /usr/lib64/python2.7/site-packages/lxml/html/_html5builder.pyt appendChild s ( R R R R ( ( ( s= /usr/lib64/python2.7/site-packages/lxml/html/_html5builder.pyR s t TreeBuilderc B sh e Z e Z e Z d Z d Z e Z d � Z d � Z d � Z d � Z d � Z d d � Z d � Z RS( c O s\ t j t d t �} t j t d t �} | j | _ | j | _ t j j | | | � d S( Nt fullTree( t etree_builderst getETreeModuleR t FalseR t Elementt elementClasst Commentt commentClassR R R ( R t argst kwargst html_buildert etree_builder( ( s= /usr/lib64/python2.7/site-packages/lxml/html/_html5builder.pyR '