File "_utils.cpython-36.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/lib/python3.6/site-packages/pip/_vendor/html5lib/__pycache__/_utils.cpython-36.pyc
File size: 3.21 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
3
Pf @ s
d dl mZmZmZ d dlZd dlmZ d dlmZ yd dl j
jZW n e
k
rd d dlj
jZY nX ddddd d
dgZejd dkoejd
dkZy,edZeeesedZeeestW n dZY nX dZG dd deZdd Zdd Zdd Zdd ZdS ) )absolute_importdivisionunicode_literalsN)
ModuleType) text_type
default_etreeMethodDispatcherisSurrogatePairsurrogatePairToCodepointmoduleFactoryFactorysupports_lone_surrogatesPY27 z"\uD800"z u"\uD800"FTc @ s$ e Zd ZdZf fddZdd ZdS )r ap Dict 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.
c C s~ g }xN|D ]F\}}t |ttttfrBx*|D ]}|j||f q*W q
|j||f q
W tj| | t| t|kstt d | _
d S )N)
isinstancelisttuple frozensetsetappenddict__init__lenAssertionErrordefault)selfitemsZ_dictEntriesnamevalueitem r! /usr/lib/python3.6/_utils.pyr 4 s
zMethodDispatcher.__init__c C s t j| || jS )N)r getr )r keyr! r! r"