diff options
| author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2018-09-11 10:13:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-11 10:13:04 -0700 |
| commit | 0baa72f4b2e7185298d09cf64c7b591efcd22af0 (patch) | |
| tree | 20ee600a314eb8f65863edca9f3c90d88cfd9a02 /Modules | |
| parent | 7c7605ff1133cf757cac428c483827f666c7c827 (diff) | |
| download | cpython-git-0baa72f4b2e7185298d09cf64c7b591efcd22af0.tar.gz | |
bpo-34622: Extract asyncio exceptions into a separate module (GH-9141)
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/_asynciomodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index 3d7ce01a68..2ed033cacd 100644 --- a/Modules/_asynciomodule.c +++ b/Modules/_asynciomodule.c @@ -3306,6 +3306,8 @@ module_init(void) WITH_MOD("asyncio.base_futures") GET_MOD_ATTR(asyncio_future_repr_info_func, "_future_repr_info") + + WITH_MOD("asyncio.exceptions") GET_MOD_ATTR(asyncio_InvalidStateError, "InvalidStateError") GET_MOD_ATTR(asyncio_CancelledError, "CancelledError") |
