Mini Shell

Direktori : /usr/lib/python3.6/site-packages/dasbus/client/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/dasbus/client/__pycache__/property.cpython-36.pyc

3

��^c�@sdgZGdd�de�ZdS)�
PropertyProxyc@s@eZdZdZddgZdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dS)rzXProxy of a remote DBus property.

    It can be used to define instance attributes.
    �_getter�_settercCs||_||_dS)z(Create a new proxy of the DBus property.N)rr)�self�getter�setter�r�/usr/lib/python3.6/property.py�__init__$szPropertyProxy.__init__cCs|jdd�S)z#Get the value of the DBus property.N)�__get__)rrrr�get)szPropertyProxy.getcCs&|dkr|r|S|jstd��|j�S)NzCan't read DBus property.)r�AttributeError)r�instance�ownerrrrr
-szPropertyProxy.__get__cCs|jd|�S)z#Set the value of the DBus property.N)�__set__)r�valuerrr�set8szPropertyProxy.setcCs|jstd��|j|�S)NzCan't set DBus property.)rr)rr
rrrrr<szPropertyProxy.__set__N)
�__name__�
__module__�__qualname__�__doc__�	__slots__r	rr
rrrrrrrsN)�__all__�objectrrrrr�<module>s