� �t�_c @` st d Z d d l m Z m Z m Z d d l m Z d g Z y d d l m Z Wn e k rb n Xe j d � d S( u� Tree adapters let you convert from one tree structure to another Example: .. code-block:: python from pip._vendor import html5lib from pip._vendor.html5lib.treeadapters import genshi doc = '<html><body>Hi!</body></html>' treebuilder = html5lib.getTreeBuilder('etree') parser = html5lib.HTMLParser(tree=treebuilder) tree = parser.parse(doc) TreeWalker = html5lib.getTreeWalker('etree') genshi_tree = genshi.to_genshi(TreeWalker(tree)) i ( t absolute_importt divisiont unicode_literalsi ( t saxu sax( t genshiu genshiN( t __doc__t __future__R R R t R t __all__R t ImportErrort append( ( ( s[ /opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/treeadapters/__init__.pyt <module> s
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
.__init__.pyo.40009 | File | 988 B | 0644 |
|
.genshi.pyo.40009 | File | 1.86 KB | 0644 |
|
__init__.py | File | 679 B | 0644 |
|
__init__.pyc | File | 988 B | 0644 |
|
__init__.pyo | File | 988 B | 0644 |
|
genshi.py | File | 1.67 KB | 0644 |
|
genshi.pyc | File | 1.86 KB | 0644 |
|
genshi.pyo | File | 1.86 KB | 0644 |
|
sax.py | File | 1.73 KB | 0644 |
|
sax.pyc | File | 1.86 KB | 0644 |
|
sax.pyo | File | 1.79 KB | 0644 |
|