From feeeb705faa4ed9b964cf39b272583dec827b851 Mon Sep 17 00:00:00 2001 From: mecaneer23 Date: Fri, 23 Feb 2024 21:45:06 -0600 Subject: [PATCH] feat: add eventual wrapper typings --- src/working_initscr.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/working_initscr.py b/src/working_initscr.py index 1043444..33e94ca 100644 --- a/src/working_initscr.py +++ b/src/working_initscr.py @@ -22,6 +22,12 @@ def initscr() -> curses.window: return stdscr +# def wrapper( +# func: Callable[Concatenate[curses.window, P], R], +# /, +# *args: P.args, +# **kwargs: P.kwargs +# ) -> R: def wrapper(func: Callable[..., Any], /, *args: Any, **kwds: Any) -> Any: """ Wrapper function that initializes curses and calls another function,