Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/keyring/util/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/keyring/util/__pycache__/properties.cpython-310.pyc
o

���a-�@s.ddlmZGdd�de�ZGdd�d�ZdS)�)�abcc@seZdZdZdd�ZdS)�
ClassPropertya�
    An implementation of a property callable on a class. Used to decorate a
    classmethod but to then treat it like a property.

    Example:

    >>> class MyClass:
    ...    @ClassProperty
    ...    @classmethod
    ...    def skillz(cls):
    ...        return cls.__name__.startswith('My')
    >>> MyClass.skillz
    True
    >>> class YourClass(MyClass): pass
    >>> YourClass.skillz
    False
    cCs|j�d|��S�N)�fget�__get__)�self�cls�owner�r
�9/usr/lib/python3/dist-packages/keyring/util/properties.pyrszClassProperty.__get__N)�__name__�
__module__�__qualname__�__doc__rr
r
r
rrsrc@s"eZdZdZdd�Zddd�ZdS)�NonDataPropertyaMuch like the property builtin, but only implements __get__,
    making it a non-data property, and can be subsequently reset.

    See http://users.rcn.com/python/download/Descriptor.htm for more
    information.

    >>> class X:
    ...   @NonDataProperty
    ...   def foo(self):
    ...     return 3
    >>> x = X()
    >>> x.foo
    3
    >>> x.foo = 4
    >>> x.foo
    4
    cCs.|dusJd��t|tj�sJd��||_dS)Nzfget cannot be nonezfget must be callable)�
isinstancer�Callabler)rrr
r
r�__init__1s
zNonDataProperty.__init__NcCs|dur|S|�|�Sr)r)r�obj�objtyper
r
rr6s
zNonDataProperty.__get__r)rr
rrrrr
r
r
rrsrN)�collectionsr�propertyrrr
r
r
r�<module>s

Spamworldpro Mini