• File: singledispatch_helpers.pyo
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/lib/python2.7/site-packages/singledispatch_helpers.pyo
  • Date Modified: 05/07/2020 3:06 PM
  • File size: 8.26 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

#^c@`sddlmZddlmZddlmZddlmZddlmZddlmZddl	Z	yddlm
Z
Wn!ek
rddl
m
Z
nXydd	lmZWn!ek
rdd	l
mZnXydd
lmZWnIek
r;ydd
lmZWq<ek
r7dd
lmZq<XnXddZd
efdYZde
fdYZdZdefdYZdS(i(tabsolute_import(tdivision(tprint_function(tunicode_literals(tABCMeta(tMutableMappingN(tUserDict(tOrderedDict(t	get_identu...c`sfd}|S(uGDecorator to make a repr function return fillvalue for a recursive callc`smtfd}td|_td|_td|_tdi|_|S(Nc`sWt|tf}|kr%Sj|z|}Wdj|X|S(N(tidRtaddtdiscard(tselftkeytresult(t	fillvaluetrepr_runningt
user_function(s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pytwrapper"s
u
__module__u__doc__u__name__u__annotations__(tsettgetattrt
__module__t__doc__t__name__t__annotations__(RR(R(RRs:/usr/lib/python2.7/site-packages/singledispatch_helpers.pytdecorating_functions	((RR((Rs:/usr/lib/python2.7/site-packages/singledispatch_helpers.pytrecursive_reprstChainMapcB`seZdZdZdZdZddZdZdZ	dZ
edZe
d	Zd
ZeZdZedZd
ZdZdZdZdZRS(u A ChainMap groups multiple dicts (or other mappings) together
    to create a single, updateable view.

    The underlying mappings are stored in a list.  That list is public and can
    accessed or updated using the *maps* attribute.  There is no other state.

    Lookups search the underlying mappings successively until a key is found.
    In contrast, writes, updates, and deletions only operate on the first
    mapping.

    cG`st|pig|_dS(uInitialize a ChainMap by setting *maps* to the given mappings.
        If no mappings are provided, a single empty dictionary is used.

        N(tlisttmaps(RR((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__init__DscC`st|dS(N(tKeyError(RR
((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__missing__KscC`sAx1|jD]&}y||SWq
tk
r/q
Xq
W|j|S(N(RRR (RR
tmapping((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__getitem__Ns
cC`s||kr||S|S(N((RR
tdefault((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pytgetVscC`sttj|jS(N(tlenRtunionR(R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__len__YscC`sttj|jS(N(titerRR&R(R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__iter__\sc`stfd|jDS(Nc3`s|]}|kVqdS(N((t.0tm(R
(s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pys	<genexpr>`s(tanyR(RR
((R
s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__contains___scC`s%dj|djtt|jS(Nu{0.__class__.__name__}({1})u, (tformattjointmaptreprR(R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__repr__bscG`s|tj||S(u?Create a ChainMap with a single dict created from the iterable.(tdicttfromkeys(tclstiterabletargs((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyR4gscC`s$|j|jdj|jdS(uHNew ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]ii(t	__class__Rtcopy(R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyR9lscC`s|ji|jS(u;New ChainMap with a new dict followed by all previous maps.(R8R(R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt	new_childrscC`s|j|jdS(uNew ChainMap from maps[1:].i(R8R(R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pytparentsvscC`s||jd|<dS(Ni(R(RR
tvalue((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__setitem__{scC`s?y|jd|=Wn&tk
r:tdj|nXdS(Niu(Key not found in the first mapping: {!r}(RRR.(RR
((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt__delitem__~s
cC`s9y|jdjSWntk
r4tdnXdS(uPRemove and return an item pair from maps[0]. Raise KeyError is maps[0] is empty.iu#No keys found in the first mapping.N(RtpopitemR(R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyR?s
cG`sHy|jdj||SWn&tk
rCtdj|nXdS(uWRemove *key* from maps[0] and return its value. Raise KeyError if *key* not in maps[0].iu(Key not found in the first mapping: {!r}N(RtpopRR.(RR
R7((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyR@s
cC`s|jdjdS(u'Clear maps[0], leaving maps[1:] intact.iN(Rtclear(R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyRAsN(RRRRR R"tNoneR$R'R)R-RR2tclassmethodR4R9t__copy__R:tpropertyR;R=R>R?R@RA(((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyR7s&												tMappingProxyTypecB`seZdZRS(cC`stj|||_dS(N(RRtdata(RRG((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyRs
(RRR(((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyRFscC`stjS(N(Rt_abc_invalidation_counter(((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pytget_cache_tokenstSupportcB`seZdZdZRS(cC`sdS(N((R((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pytdummyscC`sdtjkr|jS|S(NuPyPy(tsystversionRK(Rtfunc((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pytcpython_onlys(RRRKRO(((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyRJs	(t
__future__RRRRtabcRtcollectionsRRLRtImportErrorRtordereddicttthreadRt_threadt
_dummy_threadRRRFRItobjectRJ(((s:/usr/lib/python2.7/site-packages/singledispatch_helpers.pyt<module>s4



`