관리-도구
편집 파일: _collections.cpython-38.pyc
U ��`;* � @ s� d dl mZ zd dlmZmZ W n$ ek rD d dlmZmZ Y nX zd dlmZ W n" ek rx G dd� d�ZY nX d dlm Z ddl mZ dd lm Z dd lmZmZ ddgZe� ZG d d� de�ZG dd� de�ZdS )� )�absolute_import)�Mapping�MutableMapping)�RLockc @ s e Zd Zdd� Zdd� ZdS )r c C s d S �N� ��selfr r �E/opt/alt/python38/lib/python3.8/site-packages/urllib3/_collections.py� __enter__ s zRLock.__enter__c C s d S r r )r �exc_type� exc_value� tracebackr r r �__exit__ s zRLock.__exit__N)�__name__� __module__�__qualname__r r r r r r r s r )�OrderedDict� )� InvalidHeader)�six)�iterkeys� itervalues�RecentlyUsedContainer�HTTPHeaderDictc @ sV e Zd ZdZeZddd�Zdd� Zdd � Zd d� Z dd � Z dd� Zdd� Zdd� Z dS )r a� Provides a thread-safe dict-like container which maintains up to ``maxsize`` keys while throwing away the least-recently-used keys beyond ``maxsize``. :param maxsize: Maximum number of recent elements to retain. :param dispose_func: Every time an item is evicted from the container, ``dispose_func(value)`` is called. Callback which will get called � Nc C s"