관리-도구
편집 파일: etree_lxml.cpython-34.pyc
� �Re�6 � @ s- d Z d d l m Z m Z m 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 l m Z d d l m Z d d l m Z d d l j Z d Z e j d � Z e j d � j Z Gd d � d e � Z Gd d � d e � Z d d � Z d d � Z Gd d � d e j � Z d S)a� Module for supporting the lxml.etree library. The idea here is to use as much of the native library as possible, without using fragile hacks like custom element names that break between releases. The downside of this is that we cannot represent all possible trees; specifically the following are known to cause problems: Text or comments as siblings of the root element Docypes with no name When any of these things occur, we emit a DataLossWarning � )�absolute_import�division�unicode_literalsN� )�_base� )�DataLossWarning)� constants)�etree)�ihatexmlTz {([^}]*)}(.*)Zasdc @ s e Z d Z d d � Z d S)�DocumentTypec C s | | _ | | _ | | _ d S)N)�name�publicId�systemId)�selfr r r � r �G/tmp/pip-ztkk0jow-build/pip/_vendor/html5lib/treebuilders/etree_lxml.py�__init__"