← Back
Editing: functional.cpython-311.pyc
� �|�eB7 � � � d dl Z d dlZd dlZd dlmZmZ G d� d� � Z G d� d� � Z G d� d� � Zd � Z d � Z d� Zd� Zd � Z e� � Zd� Z G d� d� � Zd� Z G d� de� � Zd� ZdS )� N)�total_ordering�wrapsc �B � e Zd ZdZdZed� � � Zdd�Zd� Zdd�Z dS )�cached_propertya[ Decorator that converts a method with a single self argument into a property cached on the instance. A cached property can be made out of an existing method: (e.g. ``url = cached_property(get_absolute_url)``). The optional ``name`` argument is obsolete as of Python 3.6 and will be deprecated in Django 4.0 (#30127). Nc � � t d� � �)NzICannot use cached_property instance without calling __set_name__() on it.�� TypeError)�instances �9/usr/lib/python3/dist-packages/django/utils/functional.py�funczcached_property.func s � �� $� � � � c �>