B
    v9a                 @   sP   d Z dZddlmZmZmZmZmZmZm	Z	m
Z
mZmZ dZdd Zdd Zd	S )
z?Execute computations asynchronously using threads or processes.z"Brian Quinlan (brian@sweetapp.com)    )
FIRST_COMPLETEDFIRST_EXCEPTIONALL_COMPLETEDCancelledErrorTimeoutError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   /usr/lib/python3.7/__init__.py__dir__#   s    r   c             C   sP   | dkrddl m} |a|S | dkr8ddlm} |a|S tdt d|  d S )Nr      )r   r   )r   zmodule z has no attribute )Zprocessr   Zthreadr   AttributeError__name__)nameZpeter   r   r   __getattr__'   s    r   N)r   r   Zconcurrent.futures._baser   r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   <module>   s
   0