ok

Mini Shell

Direktori : /opt/alt/python38/lib64/python3.8/site-packages/playhouse/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/site-packages/playhouse/__pycache__/hybrid.cpython-38.pyc

U

S��W��@s$Gdd�de�ZGdd�de�ZdS)c@s&eZdZddd�Zdd�Zdd�ZdS)	�
hybrid_methodNcCs||_|p||_dS�N)�func�expr)�selfrr�r�
/hybrid.py�__init__szhybrid_method.__init__cCs&|dkr|j�||j�S|j�||�Sr)r�__get__�	__class__r�r�instanceZ
instance_typerrrr	szhybrid_method.__get__cCs
||_|Sr�r�rrrrr�
expression
szhybrid_method.expression)N)�__name__�
__module__�__qualname__rr	rrrrrrs
rc@sFeZdZddd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dS)�hybrid_propertyNcCs ||_||_||_|p||_dSr)�fget�fset�fdelr)rrrrrrrrrszhybrid_property.__init__cCs|dkr|�|�S|�|�Sr)rrrrrrr	s
zhybrid_property.__get__cCs"|jdkrtd��|�||�dS)NzCannot set attribute.)r�AttributeError)rr�valuerrr�__set__s
zhybrid_property.__set__cCs |jdkrtd��|�|�dS)NzCannot delete attribute.)rr)rrrrr�
__delete__#s
zhybrid_property.__delete__cCs
||_|Sr)r)rrrrr�setter(szhybrid_property.settercCs
||_|Sr)r)rrrrr�deleter,szhybrid_property.deletercCs
||_|Srr
rrrrr0szhybrid_property.expression)NNN)
rrrrr	rrrrrrrrrrs
rN)�objectrrrrrr�<module>s

Zerion Mini Shell 1.0