8000 gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (#10… · python/cpython@a12e8ff · GitHub
[go: up one dir, main page]

Skip to content

Commit a12e8ff

Browse files
gh-106075: add asyncio.taskgroups.__all__ to asyncio.__all__ (#106090)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
1 parent 3eeb8c8 commit a12e8ff

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Lib/asyncio/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
streams.__all__ +
3535
subprocess.__all__ +
3636
tasks.__all__ +
37+
taskgroups.__all__ +
3738
threads.__all__ +
3839
timeouts.__all__ +
3940
transports.__all__)

Lib/asyncio/taskgroups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# license: PSFL.
33

44

5-
__all__ = ["TaskGroup"]
5+
__all__ = ("TaskGroup",)
66

77
from . import events
88
from . import exceptions

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,6 +1946,7 @@ Colin Watson
19461946
David Watson
19471947
Aaron Watters
19481948
Alex Waygood
1949+
James Webber
19491950
Russel Webber
19501951
Henrik Weber
19511952
Leon Weber
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added `asyncio.taskgroups.__all__` to `asyncio.__all__` for export in star imports.

0 commit comments

Comments
 (0)
0