ok

Mini Shell

Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/html5lib/treeadapters/
Upload File :
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/html5lib/treeadapters/genshi.pyo

�
Bu�_c@`sgddlmZmZmZddlmZmZddlmZmZm	Z	m
Z
mZd�ZdS(i(tabsolute_importtdivisiontunicode_literals(tQNametAttrs(tSTARTtENDtTEXTtCOMMENTtDOCTYPEcc`s�g}x�|D]�}|d}|dkr=|j|d�n&|rctdj|�dfVg}n|dkr)|d	r�d
|d	|df}n
|d}tg|dj�D]<\}}t|ddk	r�d
|n|d
�|f^q��}tt|�|fdfV|dkr)d}q)n|dkr{|d	rZd
|d	|df}n
|d}tt|�dfVq
|dkr�t	|ddfVq
|dkr
t
|d|d|dfdfVq
q
W|r�tdj|�dfVndS(u�Convert a tree to a genshi tree

    :arg walker: the treewalker to use to walk the tree to convert it

    :returns: generator of genshi nodes

    utypeu
CharactersuSpaceCharactersudataui����uStartTaguEmptyTagu	namespaceu{%s}%sunameiiuEndTaguCommentuDoctypeupublicIdusystemIdN(u
CharactersuSpaceCharacters(Ni����i����(uStartTaguEmptyTag(Ni����i����(Ni����i����(Ni����i����(Ni����i����(Ni����i����(tappendRtjointNoneRtitemsRRRRR	(twalkerttextttokenttypetnametattrtvaluetattrs((sY/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/html5lib/treeadapters/genshi.pyt	to_genshis<

	

S

N(
t
__future__RRRtgenshi.coreRRRRRRR	R(((sY/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/html5lib/treeadapters/genshi.pyt<module>s(

Zerion Mini Shell 1.0