python (3.12.0)
ˑed Z d dl Z d dlZd dlZd dlZd dlZddlmZ d Zd Zd Z d dZ
d
dZy) N ) constantsc \ t j | } t j | r$| j }|j |j
fS t
| t j rt | j S t
| t j rt | j S y N)inspectunwrap
isfunction__code__co_filenameco_firstlineno
isinstance functoolspartial_get_function_sourcefunc
partialmethod)r codes J/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/asyncio/format_helpers.pyr r
s >>$D$}} $"5"566$ ))*#DII..$ //0#DII.. c \ t | |d }t | }|r|d|d d|d z
}|S )Nz at r :r )_format_callbackr )r args func_reprsources r _format_callback_sourcer sB tT2I
!$
'F
tF1I;aq {33 r c g }| r|j d | D |r&|j d |j D dj dj | S )zFormat function arguments and keyword arguments.
Special case for a single parameter: ('hello',) is formatted as ('hello').
c 3 F K | ] }t j | y wr reprlibrepr).0args r <genexpr>z*_format_args_and_kwargs.<locals>.<genexpr>&