Your IP : 3.149.238.67


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyc

�
�Rec@`s�ddlmZmZmZddlmZddlmZmZmZm	Z	m
Z
ddlmZmZm
Z
mZmZmZddlmZddlmZmZd	ejfd
��YZdS(i(tabsolute_importtdivisiontunicode_literals(tQName(tSTARTtENDt
XML_NAMESPACEtDOCTYPEtTEXT(tSTART_NStEND_NStSTART_CDATAt	END_CDATAtPItCOMMENTi(tbasei(tvoidElementst
namespacest
TreeWalkercB`seZd�Zd�ZRS(cc`s�d}xH|jD]=}|dk	rGx"|j||�D]}|Vq5Wn|}qW|dk	r�x"|j|d�D]}|VqpWndS(N(tNonettreettokens(tselftpreviousteventttoken((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyt__iter__
s
cc`s�|\}}}|tkr
|\}}|j}|j}	i}
xL|D]D\}}t|t�rz||
|j|jf<qF||
d|f<qFW|	tdkr�|tkr�x]|j|	||
|p�|dt	kp�|d|k�D]}
|
Vq�Wq�|j
|	||
�Vn�|t	kr^|j}|j}	|	tdksG|tkr�|j|	|�Vq�n�|tkr{|j
|�Vn}|tkr�xn|j|�D]}
|
Vq�WnO|tkr�|j|�Vn2|tttttttfkr�n|j|�VdS(Nuhtmlii(Rt	localnamet	namespacet
isinstanceRRRRtemptyTagRtstartTagtendTagRtcommentRttextRtdoctypeRR	R
RRR
tunknown(RRtnexttkindtdatat_ttagtattribstnameRtconverted_attribstktvR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyRs@				(t__name__t
__module__RR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyRs	N(t
__future__RRRtgenshi.coreRRRRRRR	R
RRR
RtRt	constantsRRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyt<module>s(.

?>