관리-도구
편집 파일: http2.cpython-38.pyc
U )�e� � @ s� d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dlZ d dlm Z ddlmZ ddlmZ ddlmZ eZe�d�ZG d d � d eje �ZG dd� de�ZG d d� de �Zdd�dd�Zdd�dd�ZdS )� )�annotationsN)�BaseHTTPResponse� )�HTTPHeaderDict)�HTTPSConnection)�HTTPSConnectionPool�Tc @ s@ e Zd ZdZdd�dd�Zdd�dd�Zd d ddd �dd�ZdS )� _LockedObjectaY A wrapper class that hides a specific object behind a lock. The goal here is to provide a simple way to protect access to an object that cannot safely be simultaneously accessed from multiple threads. The intended use of this class is simple: take hold of it with a context manager, which returns the protected object. r )�objc C s t �� | _|| _d S �N)� threading�RLock�lock�_obj)�selfr � r �;/opt/hc_python/lib/python3.8/site-packages/urllib3/http2.py�__init__"