AlkantarClanX12

Your IP : 3.145.56.150


Current Path : /proc/thread-self/root/lib64/python2.7/Demo/metaclasses/
Upload File :
Current File : //proc/thread-self/root/lib64/python2.7/Demo/metaclasses/Simple.pyo

�
��^c@s�ddlZddd��YZdd
d��YZddd��YZeddi�Zd	efd
��YZe�Zejd�ej�GHdS(i����NtTracingcBseZd�Zd�ZRS(cCs||_||_||_dS(sCreate a new class.N(t__name__t	__bases__t
__namespace__(tselftnametbasest	namespace((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyt__init__s		cCs
t|�S(sCreate a new instance.(tInstance(R((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyt__call__	s(Rt
__module__RR
(((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyRs	R	cBseZd�Zd�ZRS(cCs
||_dS(N(t	__klass__(Rtklass((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyRscCsWy|jj|}Wntk
r0t|�nXt|�tjk	rJ|St||�S(N(RRtKeyErrortAttributeErrorttypettypestFunctionTypetBoundMethod(RRtvalue((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyt__getattr__s

(RRRR(((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyR	
s	RcBseZd�Zd�ZRS(cCs||_||_dS(N(tfunctiontinstance(RRR((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyRs	cGs9dG|jGdG|jGdG|GHt|j|jf|�S(Ntcallingtfortwith(RRtapply(Rtargs((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyR
s(RRRR
(((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyRs	tTracet
MyTracedClasscBseZd�Zd�ZRS(cCs
||_dS(N(ta(RR((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pytmethod1$scCs|jS(N(R(R((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pytmethod2&s(RRR R!(((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyR#s	i
(((((	RRR	RRRt
aninstanceR R!(((s//usr/lib64/python2.7/Demo/metaclasses/Simple.pyt<module>s