Current Path: > > usr > lib > python2.7 > site-packages > pip > _vendor > > html5lib > treewalkers
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.py | File | 5544 bytes | April 21 2022 18:08:21. | |
__init__.pyc | File | 4729 bytes | April 21 2022 18:08:34. | |
__init__.pyo | File | 4611 bytes | April 21 2022 18:08:35. | |
base.py | File | 4939 bytes | April 21 2022 18:08:21. | |
base.pyc | File | 6356 bytes | April 21 2022 18:08:34. | |
base.pyo | File | 6356 bytes | April 21 2022 18:08:34. | |
dom.py | File | 1413 bytes | April 21 2022 18:08:21. | |
dom.pyc | File | 2235 bytes | April 21 2022 18:08:34. | |
dom.pyo | File | 2235 bytes | April 21 2022 18:08:34. | |
etree.py | File | 4684 bytes | April 21 2022 18:08:21. | |
etree.pyc | File | 4564 bytes | April 21 2022 18:08:34. | |
etree.pyo | File | 4431 bytes | April 21 2022 18:08:35. | |
etree_lxml.py | File | 6309 bytes | April 21 2022 18:08:21. | |
etree_lxml.pyc | File | 9221 bytes | April 21 2022 18:08:34. | |
etree_lxml.pyo | File | 8738 bytes | April 21 2022 18:08:35. | |
genshi.py | File | 2309 bytes | April 21 2022 18:08:21. | |
genshi.pyc | File | 2438 bytes | April 21 2022 18:08:34. | |
genshi.pyo | File | 2438 bytes | April 21 2022 18:08:34. |
� ��abc @` s� d Z d d l m Z m Z m Z d d l m Z d d l m Z d d d d d d g Z i Z d d � Z d � Z d � Z d S( u� A collection of modules for iterating through different kinds of tree, generating tokens identical to those produced by the tokenizer module. To create a tree walker for a new type of tree, you need to do implement a tree walker object (called TreeWalker by convention) that implements a 'serialize' method taking a tree as sole argument and returning an iterator generating tokens. i ( t absolute_importt divisiont unicode_literalsi ( t constants( t default_etreeu getTreeWalkeru pprintu domu etreeu genshiu etree_lxmlc K` s� | j � } | t k r� | d k rD d d l m } | j t | <q� | d k rp d d l m } | j t | <q� | d k r� d d l m } | j t | <q� | d k r� d d l m } | d k r� t } n | j | | � j Sn t j | � S( u� Get a TreeWalker class for various types of tree with built-in support Args: treeType (str): the name of the tree type required (case-insensitive). Supported values are: - "dom": The xml.dom.minidom DOM implementation - "etree": A generic walker for tree implementations exposing an elementtree-like interface (known to work with ElementTree, cElementTree and lxml.etree). - "lxml": Optimized walker for lxml.etree - "genshi": a Genshi stream Implementation: A module implementing the tree type e.g. xml.etree.ElementTree or cElementTree (Currently applies to the "etree" tree type only). u domi ( t domu genshi( t genshiu lxml( t etree_lxmlu etree( t etreeN( t lowert treeWalkerCachet R t TreeWalkerR R R t NoneR t getETreeModulet get( t treeTypet implementationt kwargsR R R R ( ( sM /usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/__init__.pyt getTreeWalker s"