File manager - Edit - /opt/imunify360/venv/lib/python3.11/site-packages/diskcache/__pycache__/persistent.cpython-311.pyc
Back
� ��iy� � � � d Z ddlZddlmZ ddlmZmZmZm Z m Z ddlmZ ddl mZ ddlmZmZ d � Z G d � de � � Z G d� d e� � ZdS )zPersistent Data Types � N)�OrderedDict)� ItemsView�KeysView�MutableMapping�Sequence� ValuesView)�contextmanager)�rmtree� )�ENOVAL�Cachec � � � � fd�}d� � j � � |_ d}|� |� � |_ |S )z,Make compare method with Sequence semantics.c �0 �� t |t � � st S t | � � }t |� � }||k r �t j u rdS �t j u rdS t | |� � D ]\ }}||k r �||� � c S � �||� � S )z&Compare method for deque and sequence.FT)� isinstancer �NotImplemented�len�op�eq�ne�zip)�self�that�len_self�len_that�alpha�beta�seq_ops ��t/builddir/build/BUILD/imunify360-venv-2.6.1/opt/imunify360/venv/lib/python3.11/site-packages/diskcache/persistent.py�comparez_make_compare.<locals>.compare s� �� ��$��)�)� "�!�!��t�9�9���t�9�9���x���������u�������t��t�T�?�?� +� +�K�E�4���}�}��v�e�T�*�*�*�*�*� � �v�h��)�)�)� z__{0}__z/Return True if and only if deque is {0} `that`.)�format�__name__�__doc__)r �docr �doc_strs ` r � _make_comparer&