File: //lib/python3/dist-packages/keyring/util/__pycache__/properties.cpython-310.pyc
o
���a- � @ s. d dl mZ G dd� de�ZG dd� d�ZdS )� )�abcc @ s e Zd ZdZdd� 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
c C s | j �d |�� S �N)�fget�__get__)�self�cls�owner� r
�9/usr/lib/python3/dist-packages/keyring/util/properties.pyr s zClassProperty.__get__N)�__name__�
__module__�__qualname__�__doc__r r
r
r
r r s r c @ s"