관리-도구
편집 파일: cache.cpython-38.opt-1.pyc
U ��.e% � @ 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 �B/usr/lib/python3.8/site-packages/pip/_vendor/cachecontrol/cache.py�get s z BaseCache.getc C s t � �d S r r �r r �valuer r r �set s z BaseCache.setc C s t � �d S r r r r r r �delete s 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 Z 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&