ok
Direktori : /opt/alt/python38/lib64/python3.8/asyncio/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/asyncio/__pycache__/format_helpers.cpython-38.pyc |
U .��cd � @ 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�r<t | j �S t| tj�rRt | j �S d S �N)�inspectZunwrapZ isfunction�__code__�co_filename�co_firstlineno� isinstance� functools�partial�_get_function_source�func� partialmethod)r �code� r �;/opt/alt/python38/lib64/python3.8/asyncio/format_helpers.pyr s r c C s8 t | |d �}t| �}|r4|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 �� |r8|� 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>&