관리-도구
편집 파일: _threading_local.cpython-310.opt-2.pyc
o 6��f4 � @ s\ d dl mZ d dlmZ dgZG dd� d�Zedd� �ZG dd� d�Zd d lm Z m Z d S )� )�ref)�contextmanager�localc @ s* e Zd Z dZdd� Zdd� Zdd� ZdS ) � _localimpl)�key�dicts� localargs� locallock�__weakref__c C s dt t| �� | _i | _d S )Nz_threading_local._localimpl.)�str�idr r )�self� r �7/opt/alt/python310/lib64/python3.10/_threading_local.py�__init__� s z_localimpl.__init__c C s t � }| jt|� d S )N� )�current_threadr r )r �threadr r r �get_dict� s z_localimpl.get_dictc sj i }| j }t� }t|�}|f�fdd� }|f� fdd� }t| |�� t||��� |j|<