File: //lib/python3.10/concurrent/futures/__pycache__/__init__.cpython-310.pyc
o
    E�h  �                   @   sT   d Z dZddlmZmZmZmZmZmZm	Z	m
Z
mZmZm
Z
 dZdd� Zdd� Zd	S )
z?Execute computations asynchronously using threads or processes.z"Brian Quinlan (brian@sweetapp.com)�    )�FIRST_COMPLETED�FIRST_EXCEPTION�
ALL_COMPLETED�CancelledError�TimeoutError�InvalidStateError�BrokenExecutor�Future�Executor�wait�as_completed)r   r   r   r   r   r   r	   r
   r   r   �ProcessPoolExecutor�ThreadPoolExecutorc                   C   s   t d S )N)�
__author__�__doc__)�__all__� r   r   �2/usr/lib/python3.10/concurrent/futures/__init__.py�__dir__$   s   r   c                 C   sL   | dkrddl m} |a|S | dkrddlm} |a|S tdt� d| � ���)Nr
   �   )r
   r   )r   zmodule z has no attribute )�processr
   �threadr   �AttributeError�__name__)�name�pe�ter   r   r   �__getattr__(   s   r   N)r   r   �concurrent.futures._baser   r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   �<module>   s   4