• File: classinit.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib/python3.7/site-packages/paste/util/__pycache__/classinit.cpython-37.pyc
  • Date Modified: 12/01/2019 7:09 PM
  • File size: 1.45 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

bN9@sGdddeZddZdS)c@seZdZddZdS)
ClassInitMetacCsTt||||}|dr:t|jts:t|dt|jjt|drP||||S)N
__classinit__)	type__new__Zhas_key
isinstancerstaticmethodsetattrZim_funchasattr)meta
class_namebases	new_attrsclsrE/opt/alt/python37/lib/python3.7/site-packages/paste/util/classinit.pyrs

zClassInitMeta.__new__N)__name__
__module____qualname__rrrrrrsrcCsx|D]\}}|ds0|ds0|dr
|dd}t||rt||}t|tsptd|t||f|j|j	|j
|jd}ni}||d|d	d<|dr|jr|j|d
<tf|}t|||q
WdS)z
    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.
    Z__getZ__setZ__delNzJAttribute %s is a %s, not a property; function %s is named like a property)fgetfsetfdeldocfr)
itemsendswithrgetattrrproperty
ValueErrorrrrr__doc__r)r
rnamevaluebaseZold_propattrsZnew_proprrrbuild_propertiess(





r$N)rrr$rrrr<module>s