관리-도구
편집 파일: _base.cpython-34.pyc
� �Re�5 � @ sh d d l m Z m Z m Z d d l m Z d d l m Z m Z m Z d Z i e e � d f d 6e e e e d d f g � B� d f d 6e e e e d d f e d d f g � B� d f d 6e e d d f e d d f g � d f d 6e e d d f e d d f g � d f d 6Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z d S)� )�absolute_import�division�unicode_literals)� text_type� )�scopingElements�tableInsertModeElements� namespacesNF�html�button�ol�ul�list�table�optgroup�optionT�selectc @ s� e Z d Z d d � Z d d � Z d d � Z d d � Z d d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�Nodec C s: | | _ d | _ d | _ i | _ g | _ g | _ d S)a6 Node representing an item in the tree. name - The tag name associated with the node parent - The parent of the current node (or None for the document node) value - The value of the current node (applies to text nodes and comments attributes - a dict holding name, value pairs for attributes of the node childNodes - a list of child nodes of the current node. This must include all elements but not necessarily other node types _flags - A list of miscellaneous flags that can be set on the node N)�name�parent�value� attributes� childNodes�_flags)�selfr � r �B/tmp/pip-ztkk0jow-build/pip/_vendor/html5lib/treebuilders/_base.py�__init__ s z Node.__init__c C sK d j d d � | j j � D� � } | r<