.:M{ x d Z ddlZddlmZ ddlmZ dZdZdZd Z d
Z
d Z ej d Z
dS )
N) get_ident )format_helpersPENDING CANCELLEDFINISHEDc > t | j d o| j duS )zCheck for a Future.
This returns True when obj is a Future instance or is advertising
itself as duck-type compatible by setting _asyncio_future_blocking.
See comment in Future for more details.
_asyncio_future_blockingN)hasattr __class__r )objs A/opt/alt/python-internal/lib64/python3.11/asyncio/base_futures.pyisfuturer s)
CM#=>>
5(46 c t | }|sd} d }|dk r || d d } n|dk rAd || d d || d d } nJ|dk rDd || d d |dz
|| d d } d | d
S )#helper function for Future.__repr__ c , t j | d S )Nr )r _format_callback_source)callbacks r format_cbz$_format_callbacks.