ยปCore Development>Code coverage>Lib/concurrent/futures/__init__.py

Python code coverage for Lib/concurrent/futures/__init__.py

#countcontent
1n/a# Copyright 2009 Brian Quinlan. All Rights Reserved.
2n/a# Licensed to PSF under a Contributor Agreement.
3n/a
4n/a"""Execute computations asynchronously using threads or processes."""
5n/a
6n/a__author__ = 'Brian Quinlan (brian@sweetapp.com)'
7n/a
8n/afrom concurrent.futures._base import (FIRST_COMPLETED,
9n/a FIRST_EXCEPTION,
10n/a ALL_COMPLETED,
11n/a CancelledError,
12n/a TimeoutError,
13n/a Future,
14n/a Executor,
15n/a wait,
16n/a as_completed)
17n/afrom concurrent.futures.process import ProcessPoolExecutor
18n/afrom concurrent.futures.thread import ThreadPoolExecutor