관리-도구
편집 파일: cache.cpython-36.pyc
3 �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 s t � �d S )N)�NotImplementedError)�self�key� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/cache.py�get s z BaseCache.getc C s t � �d S )N)r )r r �valuer r r �set s z BaseCache.setc C s t � �d S )N)r )r r r r r �delete s zBaseCache.deletec C s d S )Nr )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 )N)r �lock�data)r � init_dictr r r �__init__ s zDictCache.__init__c C s | j j|d �S )N)r r )r r r r r r s z DictCache.getc C s&