OS : Linux
PHP Version : 7.4.33
Software : Apache/2.4.6 (CentOS) PHP/7.4.33
Information System : Linux apprendre2 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Disable Function : 3
\ @ sr g Z d dlZd dlZddlmZ ejjjZejj Z ejj
Z
G dd deZdZdZ
dZd d
Zdd Zd
d ZdS ) N )eventsc @ s e Zd ZdZdS )InvalidStateErrorz+The operation is not allowed in this state.N)__name__
__module____qualname____doc__ r r $/usr/lib64/python3.6/base_futures.pyr
s r ZPENDINGZ CANCELLEDZFINISHEDc C s t | jdo| jdk S )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 )objr r r
isfuture s r c C s t | }|sd} dd }|dkr.|| d } nP|dkrTdj|| d || d } n*|dkr~dj|| d |d || d
} d | S )z#helper function for Future.__repr__ c S s t j| f S )N)r Z_format_callback_source)callbackr r r
format_cb( s z$_format_callbacks.