commit:     5f3aebcdac489ba95f3b80db7c60bdadcb0c500d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  9 17:49:47 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov  9 17:52:26 2025 +0000
URL:        https://gitweb.gentoo.org/proj/steve.git/commit/?id=5f3aebcd

Fix typing

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 steve.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/steve.py b/steve.py
index d783770..80269d7 100755
--- a/steve.py
+++ b/steve.py
@@ -16,6 +16,7 @@ from pathlib import Path
 from typing import TYPE_CHECKING
 
 if TYPE_CHECKING:
+    from collections.abc import Generator
     from types import FrameType
 
 
@@ -28,7 +29,7 @@ def exit_sig_handler(signum: int, _: FrameType | None) -> 
None:
 
 
 @contextlib.contextmanager
-def hold_fifo(path: Path) -> None:
+def hold_fifo(path: Path) -> Generator[None]:
     os.mkfifo(path)
     try:
         yield

Reply via email to