We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a1c8c3 commit 07d8eb3Copy full SHA for 07d8eb3
extra_tests/snippets/stdlib_typing.py
@@ -0,0 +1,9 @@
1
+from collections.abc import Awaitable, Callable
2
+from typing import TypeVar
3
+
4
+T = TypeVar("T")
5
6
+def abort_signal_handler(
7
+ fn: Callable[[], Awaitable[T]], on_abort: Callable[[], None] | None = None
8
+) -> T:
9
+ pass
0 commit comments