• File: classinit.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib/python2.7/site-packages/paste/util/classinit.pyc
  • Date Modified: 08/01/2016 7:39 PM
  • File size: 1.87 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

bNc@s#defdYZdZdS(t
ClassInitMetacBseZdZRS(cCstj||||}|jdrYt|jtrYt|dt|jjnt|dr{|j||n|S(Nt
__classinit__(	ttypet__new__thas_keyt
isinstanceRtstaticmethodtsetattrtim_functhasattr(tmetat
class_nametbasest	new_attrstcls((sE/opt/alt/python27/lib/python2.7/site-packages/paste/util/classinit.pyRs	(t__name__t
__module__R(((sE/opt/alt/python27/lib/python2.7/site-packages/paste/util/classinit.pyRscCs7x0|jD]"\}}|jdsF|jdsF|jdr
|d }t||rt||}t|tstd|t||fni|jd6|j	d6|j
d6|jd	6}ni}||d
|d<|jdr|jr|j|d	<nt|}t|||q
q
WdS(
s
    Given a class and a new set of attributes (as passed in by
    __classinit__), create or modify properties based on functions
    with special names ending in __get, __set, and __del.
    t__gett__sett__delisJAttribute %s is a %s, not a property; function %s is named like a propertytfgettfsettfdeltdoctfiN(
titemstendswithR	tgetattrRtpropertyt
ValueErrorRRRRt__doc__R(RR
tnametvaluetbasetold_proptattrstnew_prop((sE/opt/alt/python27/lib/python2.7/site-packages/paste/util/classinit.pytbuild_propertiess(



N(RRR%(((sE/opt/alt/python27/lib/python2.7/site-packages/paste/util/classinit.pyt<module>s