Skip to content

Commit 8d5d60f

Browse files
miss-islingtonjamestwebberkumaraditya303
authored
[3.12] gh-106075: add asyncio.taskgroups.__all__ to asyncio.__all__ (GH-106090) (#106098)
gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (GH-106090) (cherry picked from commit a12e8ff) Co-authored-by: James Webber <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
1 parent 9e6f8d4 commit 8d5d60f

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)