![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3.10/asyncio/__pycache__/ |
o �*�gd � @ sd d dl Z d dlZd dlZd dlZd dlZddlmZ dd� Zdd� Zdd � Z ddd�Z dd d�ZdS )� N� )� constantsc C sV t �| �} t �| �r| j}|j|jfS t| tj�rt | j �S t| tj�r)t | j �S d S �N)�inspect�unwrap� isfunction�__code__�co_filename�co_firstlineno� isinstance� functools�partial�_get_function_source�func� partialmethod)r �code� r �-/usr/lib/python3.10/asyncio/format_helpers.pyr s r c C s8 t | |d �}t| �}|r|d|d � d|d � �7 }|S )Nz at r �:r )�_format_callbackr )r �args� func_repr�sourcer r r �_format_callback_source s r c C sH g }| r|� dd� | D �� |r|� dd� |�� D �� d�d�|��S )z�Format function arguments and keyword arguments. Special case for a single parameter: ('hello',) is formatted as ('hello'). c s s � | ]}t �|�V qd S r ��reprlib�repr)�.0�argr r r � <genexpr>&