Ñò ô†³Kc@s0defd„ƒYZdefd„ƒYZdS(tclassinstancemethodcBs#eZdZd„Zdd„ZRS(s÷ Acts like a class method when called from a class, like an instance method when called by an instance. The method should take two arguments, 'self' and 'cls'; one of these will be None depending on how the method was called. cCs||_|i|_dS(N(tfunct__doc__(tselfR((s</usr/lib/python2.6/site-packages/paste/util/classinstance.pyt__init__ s cCst|id|d|ƒS(Ntobjttype(t_methodwrapperR(RRR((s</usr/lib/python2.6/site-packages/paste/util/classinstance.pyt__get__sN(t__name__t __module__RRtNoneR(((s</usr/lib/python2.6/site-packages/paste/util/classinstance.pyRs RcBs#eZd„Zd„Zd„ZRS(cCs||_||_||_dS(N(RRR(RRRR((s</usr/lib/python2.6/site-packages/paste/util/classinstance.pyRs  cOsL|idƒ o|idƒ p td‚|i|i|if||ŽS(NRtclssAYou cannot use 'self' or 'cls' arguments to a classinstancemethod(thas_keytAssertionErrorRRR(Rtargstkw((s</usr/lib/python2.6/site-packages/paste/util/classinstance.pyt__call__s%cCsO|idjod|ii|iifSd|ii|ii|ifSdS(Nss(RR RR Rt func_name(R((s</usr/lib/python2.6/site-packages/paste/util/classinstance.pyt__repr__ s (R R RRR(((s</usr/lib/python2.6/site-packages/paste/util/classinstance.pyRs  N(tobjectRR(((s</usr/lib/python2.6/site-packages/paste/util/classinstance.pyts