Viewing File: /opt/hc_python/lib/python3.12/site-packages/zipp/__pycache__/_functools.cpython-312.pyc
�
^��g/ � � � d dl Z d dlZd� Zy)� Nc �r � �� t j dd� �t j � � �� fd�� }|S )ze
Wrap a method such that when it is called, the args and kwargs are
saved on the method.
�args_and_kwargszargs kwargsc �f �� d�j z } �||� }t | ||� �| g|��i |��S )N�_saved_)�__name__�setattr)�self�args�kwargs� attr_name�attrr �methods ���>/opt/hc_python/lib/python3.12/site-packages/zipp/_functools.py�wrapperz!save_method_args.<locals>.wrapper
s>