AlkantarClanX12

Your IP : 3.142.198.51


Current Path : /proc/thread-self/root/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/
Upload File :
Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyo

�
��abc@`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((sK/usr/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((sK/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyRs@				(t__name__t
__module__RR(((sK/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyRs	N(t
__future__RRRtgenshi.coreRRRRRRR	R
RRR
RtRt	constantsRRR(((sK/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/genshi.pyt<module>s(.