AlkantarClanX12
Current Path : /opt/alt/python312/lib64/python3.12/asyncio/__pycache__/ |
Current File : //opt/alt/python312/lib64/python3.12/asyncio/__pycache__/coroutines.cpython-312.pyc |
� �Q�f � � � d Z ddlZddlZddlZddlZddlZd� Z e� Z d� Z ej ej j fZ e� Zd� Zd� Zy))�iscoroutinefunction�iscoroutine� Nc �� � t j j xsE t j j xr( t t j j d� � S )N�PYTHONASYNCIODEBUG)�sys�flags�dev_mode�ignore_environment�bool�os�environ�get� � �9/opt/alt/python312/lib64/python3.12/asyncio/coroutines.py�_is_debug_moder sF � ��9�9��� N�c�i�i�&B�&B�"B� #M�"&�r�z�z�~�~�6J�'K�"L�Nr c �V � t j | � xs t | dd� t u S )z6Return True if func is a decorated coroutine function.� _is_coroutineN)�inspectr �getattrr )�funcs r r r s- � ��'�'��-� B��D�/�4�0�M�A�Cr c � � t | � t v ryt | t � r1t t � dk rt j t | � � yy)z)Return True if obj is a coroutine object.T�d F)�type�_iscoroutine_typecache� isinstance�_COROUTINE_TYPES�len�add)�objs r r r sE � ��C�y�*�*���#�'�(� �%�&��,�"�&�&�t�C�y�1��r c � � t | � sJ �d� }d� }d }t | d� r| j r | j }n$t | d� r| j r| j } || � }|s || � r|� d�S |S d }t | d� r| j r | j }n$t | d� r| j r| j }|j xs d}d }|�|j }|� d |� d|� �}|S |j }|� d|� d|� �}|S ) Nc �� � t | d� r| j r | j }n>t | d� r| j r | j }ndt | � j � d�}|� d�S )N�__qualname__�__name__�<z without __name__>z())�hasattrr# r$ r )�coro� coro_names r �get_namez#_format_coroutine.<locals>.get_name3 sc � � �4��(�T�->�->��)�)�I� �T�:� &�4�=�=�� � �I� �D��J�/�/�0�0B�C�I���B��r c �t � | j S # t $ r | j cY S # t $ r Y Y yw xY ww xY w)NF)� cr_running�AttributeError� gi_running)r'