ok

Mini Shell

Direktori : /opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/
Upload File :
Current File : //opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pyc

�
�2{Yc@`s�ddlmZmZmZddlmZyddljjZ	Wn#e
k
rgddljjZ	nXdddddgZ
d	efd
��YZd�Zd�Zd
�ZdS(i(tabsolute_importtdivisiontunicode_literals(t
ModuleTypeNu
default_etreeuMethodDispatcheruisSurrogatePairusurrogatePairToCodepointumoduleFactoryFactorytMethodDispatchercB`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((sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pyRs
cC`stj|||j�S(N(RtgetR(Rtkey((sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pyt__getitem__*s((t__name__t
__module__t__doc__RR(((sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pyRscC`sht|�dkogt|d�dkogt|d�dkogt|d�dkogt|d�dkS(Niii�i��ii�i��(tlentord(tdata((sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pytisSurrogatePair1s,cC`s2dt|d�ddt|d�d}|S(Niii�iii�(R(Rtchar_val((sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pytsurrogatePairToCodepoint7sc`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(sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pyt
moduleFactoryCs

((R)R+((R)R*sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pytmoduleFactoryFactory@s(t
__future__RRRttypesRtxml.etree.cElementTreetetreetcElementTreet
default_etreetImportErrortxml.etree.ElementTreetElementTreet__all__RRRR R,(((sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pyt<module>s
	"			

Zerion Mini Shell 1.0