ó †2{Yc@`sēddlmZmZmZddlmZyddljjZ Wn#e k rgddl jj 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(R tgetR(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(tfactoryt moduleCache(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_etreet ImportErrortxml.etree.ElementTreet ElementTreet__all__R RRR R,(((sK/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/utils.pyts   "