MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.225.254.235
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib/python2.7/site-packages/pip/_vendor/html5lib/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pyc
�
r2Wc@`sddlmZmZmZddlmZddlmZyddlj	j
ZWn#ek
rwddl
j	jZnXddddd	d
gZyCed�Zeee�s�ed�Zeee�s�t�nWn
eZnXeZd
efd��YZd�Zd�Zd�ZdS(i(tabsolute_importtdivisiontunicode_literals(t
ModuleType(t	text_typeNu
default_etreeuMethodDispatcheruisSurrogatePairusurrogatePairToCodepointumoduleFactoryFactoryusupports_lone_surrogatesu"\uD800"u	u"\uD800"tMethodDispatchercB`s#eZdZdd�Zd�ZRS(upDict with 2 special properties:

    On initiation, keys that are lists, sets or tuples are converted to
    multiple keys so accessing any one of the items in the original
    list-like object returns the matching value

    md = MethodDispatcher({("foo", "bar"):"baz"})
    md["foo"] == "baz"

    A default value which can be set through the default attribute.
    cC`s�g}xl|D]d\}}t|�ttttfkr^x7|D]}|j||f�q>Wq
|j||f�q
Wtj||�d|_	dS(N(
ttypetlistttuplet	frozensettsettappendtdictt__init__tNonetdefault(tselftitemst_dictEntriestnametvaluetitem((s>/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pyR
1s
cC`stj|||j�S(N(RtgetR(Rtkey((s>/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pyt__getitem__?s((t__name__t
__module__t__doc__R
R(((s>/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pyR$scC`sht|�dkogt|d�dkogt|d�dkogt|d�dkogt|d�dkS(Niii�i��ii�i��(tlentord(tdata((s>/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pytisSurrogatePairFs,cC`s2dt|d�ddt|d�d}|S(Niii�iii�(R(Rtchar_val((s>/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pytsurrogatePairToCodepointLsc`si���fd�}|S(Nc`s�ttjtd��r(d|j}n
d|j}|�krI�|St|�}�|||�}|jj|�|�|<|SdS(Nuu_%s_factorys_%s_factory(t
isinstanceRRRt__dict__tupdate(t
baseModuletargstkwargsRtmodtobjs(tfactorytmoduleCache(s>/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pyt
moduleFactoryXs

((R*R,((R*R+s>/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pytmoduleFactoryFactoryUs(t
__future__RRRttypesRtpip._vendor.sixRtxml.etree.cElementTreetetreetcElementTreet
default_etreetImportErrortxml.etree.ElementTreetElementTreet__all__tevalt_xR"tAssertionErrortFalsetsupports_lone_surrogatestTrueRRRR!R-(((s>/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/utils.pyt<module>s*
			
"			

MMCT - 2023