AlkantarClanX12

Your IP : 3.133.109.58


Current Path : /lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/
Upload File :
Current File : //lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/_base.pyc

�
��abc@`sFddlmZmZmZddlmZdefd��YZdS(i(tabsolute_importtdivisiontunicode_literals(tMappingtTriecB`s5eZdZdd�Zd�Zd�Zd�ZRS(uAbstract base class for triescC`sWtt|�j�}|dkr+t|�Stg|D]}|j|�r5|^q5�S(N(tsuperRtkeystNonetsett
startswith(tselftprefixRtx((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/_base.pyR	s
cC`s.x'|j�D]}|j|�r
tSq
WtS(N(RR	tTruetFalse(R
Rtkey((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/_base.pythas_keys_with_prefixscC`s^||kr|Sx;tdt|�d�D] }|| |kr*|| Sq*Wt|��dS(Ni(trangetlentKeyError(R
Rti((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/_base.pytlongest_prefixs 
cC`s|j|�}|||fS(N(R(R
Rtlprefix((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/_base.pytlongest_prefix_item$sN(t__name__t
__module__t__doc__RRRRR(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/_base.pyRs

		
N(t
__future__RRRtcollectionsRR(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/_trie/_base.pyt<module>s