[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.147.86.112: ~ $
�
�t�_c@`svdZddlmZmZmZddlmZddlmZddgZ	iZ
dd�Zd	�Z
d
�ZdS(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
implement a tree walker object (called TreeWalker by convention) that
implements a 'serialize' method which takes a tree as sole argument and
returns an iterator which generates tokens.
i(tabsolute_importtdivisiontunicode_literalsi(t	constants(t
default_etreeu
getTreeWalkerupprintcK`s�|j�}|tkr�|dkrDddlm}|jt|<q�|dkrpddlm}|jt|<q�|dkr�ddlm}|jt|<q�|dkr�dd	lm}|d
kr�t	}n|j
||�jSntj|�S(u;Get a TreeWalker class for various types of tree with built-in support

    :arg str treeType: 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

    :arg implementation: A module implementing the tree type e.g.
        xml.etree.ElementTree or cElementTree (Currently applies to the "etree"
        tree type only).

    :arg kwargs: keyword arguments passed to the etree walker--for other
        walkers, this has no effect

    :returns: a TreeWalker class

    udomi(tdomugenshi(tgenshiulxml(t
etree_lxmluetree(tetreeN(tlowerttreeWalkerCachetRt
TreeWalkerRRRtNoneRtgetETreeModuletget(ttreeTypetimplementationtkwargsRRRR((sZ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/treewalkers/__init__.pyt
getTreeWalkers"	cc`s�g}xh|D]`}|d}|dkr=|j|d�q
|rhidd6dj|�d6Vg}n|Vq
W|r�idd6dj|�d6VndS(Nutypeu
CharactersuSpaceCharactersudatau(u
CharactersuSpaceCharacters(tappendtjoin(ttokenstpendingCharactersttokenttype((sZ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/treewalkers/__init__.pytconcatenateCharacterTokensAs

		cC`s�g}d}x�t|�D]�}|d}|dkr~|dr�|dtjdkr�|dtjkr}tj|d}n
|d}d||df}n
|d}|jd	d
||f�|d7}|d}x�t|j��D]t\\}}	}
|r:|tjkr!tj|}n|}d||	f}n|	}|jd
d
|||
f�q�W|dkr�|d8}q�q|dkr�|d8}q|dkr�|jdd
||df�q|dkr�|drz|dr%|jdd
||d|d|dr|dndf�q�|drX|jdd
||d|df�q�|jdd
||df�q�|jdd
|f�q|dkr�|jdd
||df�q|dkr�qtd|��qWdj|�S(u�Pretty printer for tree walkers

    Takes a TreeWalker instance and pretty prints the output of walking the tree.

    :arg walker: a TreeWalker instance

    iutypeuStartTaguEmptyTagu	namespaceuhtmlu%s %sunameu%s<%s>u iudatau	%s%s="%s"uEndTaguCommentu
%s<!-- %s -->uDoctypeupublicIdu%s<!DOCTYPE %s "%s" "%s">usystemIduu%s<!DOCTYPE %s "" "%s">u%s<!DOCTYPE %s>u
%s<!DOCTYPE >u
Charactersu%s"%s"uSpaceCharactersuUnknown token type, %su
(uStartTaguEmptyTag(	RRt
namespacestprefixesRtsortedtitemst
ValueErrorR(twalkertoutputtindentRRtnstnametattrst	namespacet	localnametvalue((sZ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/treewalkers/__init__.pytpprintPsd
!



%"
"

	"
	"N(t__doc__t
__future__RRRRRt_utilsRt__all__R
R
RRR)(((sZ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/treewalkers/__init__.pyt<module>	s,	

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
.base.pyo.40009 File 8.83 KB 0644
.dom.pyo.40009 File 2.26 KB 0644
.genshi.pyo.40009 File 2.43 KB 0644
__init__.py File 5.58 KB 0644
__init__.pyc File 4.82 KB 0644
__init__.pyo File 4.71 KB 0644
base.py File 7.3 KB 0644
base.pyc File 8.83 KB 0644
base.pyo File 8.83 KB 0644
dom.py File 1.38 KB 0644
dom.pyc File 2.26 KB 0644
dom.pyo File 2.26 KB 0644
etree.py File 4.44 KB 0644
etree.pyc File 4.43 KB 0644
etree.pyo File 4.3 KB 0644
etree_lxml.py File 6.21 KB 0644
etree_lxml.pyc File 9.44 KB 0644
etree_lxml.pyo File 8.97 KB 0644
genshi.py File 2.25 KB 0644
genshi.pyc File 2.43 KB 0644
genshi.pyo File 2.43 KB 0644