summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorJames Webber <jamestwebber@users.noreply.github.com>2023-06-26 07:54:03 (GMT)
committerGitHub <noreply@github.com>2023-06-26 07:54:03 (GMT)
commita12e8ffb49e05a1d1874389318911ce9685db232 (patch)
treefe679ed1b8a184c30ab9fcdd07b4872183ca703a /Lib/asyncio
parent3eeb8c89063d5ac22c0b1d26e4ae2fd12c149650 (diff)
downloadcpython-a12e8ffb49e05a1d1874389318911ce9685db232.zip
cpython-a12e8ffb49e05a1d1874389318911ce9685db232.tar.gz
cpython-a12e8ffb49e05a1d1874389318911ce9685db232.tar.bz2
gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (#106090)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/__init__.py1
-rw-r--r--Lib/asyncio/taskgroups.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/asyncio/__init__.py b/Lib/asyncio/__init__.py
index fed16ec7c6..03165a4 100644
--- a/Lib/asyncio/__init__.py
+++ b/Lib/asyncio/__init__.py
@@ -34,6 +34,7 @@ __all__ = (base_events.__all__ +
streams.__all__ +
subprocess.__all__ +
tasks.__all__ +
+ taskgroups.__all__ +
threads.__all__ +
timeouts.__all__ +
transports.__all__)
diff --git a/Lib/asyncio/taskgroups.py b/Lib/asyncio/taskgroups.py
index bf92bba..24238c4 100644
--- a/Lib/asyncio/taskgroups.py
+++ b/Lib/asyncio/taskgroups.py
@@ -2,7 +2,7 @@
# license: PSFL.
-__all__ = ["TaskGroup"]
+__all__ = ("TaskGroup",)
from . import events
from . import exceptions