Current Dir: /snap/core22/2955/usr/lib/python3.10/asyncio/__pycache__/
[FILE] base_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] base_futures.cpython-310.pyc [ edit | delete | rename ]
[FILE] base_subprocess.cpython-310.pyc [ edit | delete | rename ]
[FILE] base_tasks.cpython-310.pyc [ edit | delete | rename ]
[FILE] constants.cpython-310.pyc [ edit | delete | rename ]
[FILE] coroutines.cpython-310.pyc [ edit | delete | rename ]
[FILE] events.cpython-310.pyc [ edit | delete | rename ]
[FILE] exceptions.cpython-310.pyc [ edit | delete | rename ]
[FILE] format_helpers.cpython-310.pyc [ edit | delete | rename ]
[FILE] futures.cpython-310.pyc [ edit | delete | rename ]
[FILE] locks.cpython-310.pyc [ edit | delete | rename ]
[FILE] log.cpython-310.pyc [ edit | delete | rename ]
[FILE] mixins.cpython-310.pyc [ edit | delete | rename ]
[FILE] proactor_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] protocols.cpython-310.pyc [ edit | delete | rename ]
[FILE] queues.cpython-310.pyc [ edit | delete | rename ]
[FILE] runners.cpython-310.pyc [ edit | delete | rename ]
[FILE] selector_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] sslproto.cpython-310.pyc [ edit | delete | rename ]
[FILE] staggered.cpython-310.pyc [ edit | delete | rename ]
[FILE] streams.cpython-310.pyc [ edit | delete | rename ]
[FILE] subprocess.cpython-310.pyc [ edit | delete | rename ]
[FILE] tasks.cpython-310.pyc [ edit | delete | rename ]
[FILE] threads.cpython-310.pyc [ edit | delete | rename ]
[FILE] transports.cpython-310.pyc [ edit | delete | rename ]
[FILE] trsock.cpython-310.pyc [ edit | delete | rename ]
[FILE] unix_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] windows_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] windows_utils.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
[FILE] __main__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2955/usr/lib/python3.10/asyncio/__pycache__/format_helpers.cpython-310.pyc
o
�9jd � @ 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>&