Skip to content

Commit f31da6f

Browse files
Apply suggestions from code review
Co-authored-by: sobolevn <[email protected]>
1 parent 62edb55 commit f31da6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/asyncio/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(
1919
self,
2020
cycles: list[list[int]],
2121
id2name: dict[int, str],
22-
) -> None:
22+
) -> None:
2323
super().__init__(cycles, id2name)
2424
self.cycles = cycles
2525
self.id2name = id2name
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Deleted @dataclass for asyncio.tools. CycleFoundException class
1+
Converted ``asyncio.tools.CycleFoundException`` from dataclass to a regular exception type.

0 commit comments

Comments
 (0)