관리-도구
편집 파일: decorator.cpython-311.pyc
� �܋f�= � �$ � d Z ddlmZ ddlZddlZddlZddlZddlZddlZdZ ej dk r ddlmZ d� Zn G d� d e � � Zd � Z ej dd� � Zd � Z ej d� � Z G d� de � � Zd� Zdd�Z ddlmZ n# e$ r ddlmZ Y nw xY w G d� de� � Z eej � � Z eej � � Zedk rej sd� Zee_ nedk rej rnedk r d� Zee_ ee� � Z!d� Z"d� Z#dS )zT Decorator module, see http://pypi.python.org/pypi/decorator for the documentation. � )�print_functionNz4.0.10�� )�getfullargspecc � � | j S �N)�__init__��clss �l/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/prometheus_client/decorator.py�get_initr 1 s � ��|�� c �, � e Zd ZdZd� Zd� Zej ZdS )r z?A quick and dirty replacement for getfullargspec for Python 2.Xc �| � t j |� � \ | _ | _ | _ | _ g | _ d | _ d S r )�inspect� getargspec�args�varargs�varkw�defaults� kwonlyargs�kwonlydefaults)�self�fs r r zgetfullargspec.__init__7 s: � ��"�1�%�%� ?�D�I�t�|�T�Z��� �D�O�"&�D���r c # �R K � | j V � | j V � | j V � | j V � d S r )r r r r )r s r �__iter__zgetfullargspec.__iter__= sA � � � ��)�O�O�O��,�����*�����-�����r N)�__name__� __module__�__qualname__�__doc__r r r r � r r r r 4 s<