File tree Expand file tree Collapse file tree 5 files changed +1772
-21
lines changed
Expand file tree Collapse file tree 5 files changed +1772
-21
lines changed Original file line number Diff line number Diff line change 1+ """The asyncio package, tracking PEP 3156."""
2+
3+ # flake8: noqa
4+
5+ import sys
6+
7+ # This relies on each of the submodules having an __all__ variable.
8+ from .base_events import *
9+ from .coroutines import *
10+ from .events import *
11+ from .exceptions import *
12+ from .futures import *
13+ from .locks import *
14+ from .protocols import *
15+ from .runners import *
16+ from .queues import *
17+ from .streams import *
18+ from .subprocess import *
19+ from .tasks import *
20+ #from .taskgroups import *
21+ #from .timeouts import *
22+ from .threads import *
23+ from .transports import *
24+
25+ __all__ = (base_events .__all__ +
26+ coroutines .__all__ +
27+ events .__all__ +
28+ exceptions .__all__ +
29+ futures .__all__ +
30+ locks .__all__ +
31+ protocols .__all__ +
32+ runners .__all__ +
33+ queues .__all__ +
34+ streams .__all__ +
35+ subprocess .__all__ +
36+ tasks .__all__ +
37+ threads .__all__ +
38+ # timeouts.__all__ +
39+ transports .__all__ )
40+
41+ if sys .platform == 'win32' : # pragma: no cover
42+ from .windows_events import *
43+ __all__ += windows_events .__all__
44+ elif sys .platform in ['emscripten' ,'wasi' ]:
45+ from .wasm_events import *
46+ __all__ += wasm_events .__all__
47+ else :
48+ from .unix_events import * # pragma: no cover
49+ __all__ += unix_events .__all__
50+
51+
You can’t perform that action at this time.
0 commit comments