관리-도구
편집 파일: util.cpython-38.pyc
U -?�f2 � @ s d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dlmZ ddlmZ dd lm Z dd l mZ ddlm Z ddlmZ ejs�es�d dlmZ d dlmZ nd dlmZ d dlmZ edeg ef d�Zddd�dd�ZG dd� de �ZG dd� d�ZdS )� )�annotationsN)�Any)�Callable)�Optional)�TypeVar� )�exc)�util)�HAS_CYEXTENSION)�Protocol)�Self� )�_distill_params_20)�_distill_raw_params�_C)�bound�strzCallable[[_C], _C])�key�returnc s t j� fdd��}|S )z�Decorator, memoize a function in a connection.info stash. Only applicable to functions which take no arguments other than a connection. The memo will be stored in ``connection.info[key]``. c sF |� � }z|j� W S tk r@ | ||� |j� <