Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/keyring/util/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/keyring/util/properties.pyc

ó
F+ÞOc@sdefd„ƒYZdS(tNonDataPropertycBs#eZdZd„Zdd„ZRS(s]Much like the property builtin, but only implements __get__,
	making it a non-data property, and can be subsequently reset.

	See http://users.rcn.com/python/download/Descriptor.htm for more
	information.

	>>> class X(object):
	...   @NonDataProperty
	...   def foo(self):
	...     return 3
	>>> x = X()
	>>> x.foo
	3
	>>> x.foo = 4
	>>> x.foo
	4
	cCs=|dk	stdƒ‚t|ƒs0tdƒ‚||_dS(Nsfget cannot be nonesfget must be callable(tNonetAssertionErrortcallabletfget(tselfR((s;/usr/lib/python2.7/dist-packages/keyring/util/properties.pyt__init__scCs|dkr|S|j|ƒS(N(RR(Rtobjtobjtype((s;/usr/lib/python2.7/dist-packages/keyring/util/properties.pyt__get__sN(t__name__t
__module__t__doc__RRR	(((s;/usr/lib/python2.7/dist-packages/keyring/util/properties.pyRs	N(tobjectR(((s;/usr/lib/python2.7/dist-packages/keyring/util/properties.pyt<module>s