관리-도구
편집 파일: cache.cpython-310.pyc
o ƚRe% � @ s4 d Z ddlmZ G dd� de�ZG dd� de�ZdS )zb The cache object API for implementing caches. The default is a thread safe in-memory dictionary. � )�Lockc @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S ) � BaseCachec C � t � ��N��NotImplementedError��self�key� r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/cachecontrol/cache.py�get � z BaseCache.getc C r r r �r r �valuer r r �set r z BaseCache.setc C r r r r r r r �delete r zBaseCache.deletec C s d S r r )r r r r �close s zBaseCache.closeN)�__name__� __module__�__qualname__r r r r r r r r r s r c @ s. e Zd Zd dd�Zdd� Zdd� Zdd � ZdS )� DictCacheNc C s t � | _|pi | _d S r )r �lock�data)r � init_dictr r r �__init__ s zDictCache.__init__c C s | j �|d �S r )r r r r r r r s z DictCache.getc C s<