Skip to content

Commit 6a71e68

Browse files
committed
Fix an older type hint now revealed to be slightly wrong
1 parent ab836f9 commit 6a71e68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

invoke/runners.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ def __enter__(self) -> "Promise":
16771677
def __exit__(
16781678
self,
16791679
exc_type: Optional[Type[BaseException]],
1680-
exc_value: BaseException,
1680+
exc_value: Optional[BaseException],
16811681
exc_tb: Optional[TracebackType],
16821682
) -> None:
16831683
self.join()

0 commit comments

Comments
 (0)