Skip to content

Commit 1597698

Browse files
arihant2mathyouknowone
authored andcommitted
add test
1 parent 0a1c8c3 commit 1597698

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

extra_tests/snippets/stdlib_typing.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from collections.abc import Awaitable, Callable
2+
from typing import TypeVar
3+
4+
T = TypeVar("T")
5+
6+
7+
def abort_signal_handler(
8+
fn: Callable[[], Awaitable[T]], on_abort: Callable[[], None] | None = None
9+
) -> T:
10+
pass

0 commit comments

Comments
 (0)