Skip to content

Commit

Permalink
feat: add eventual wrapper typings
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Feb 24, 2024
1 parent 0b860c8 commit feeeb70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/working_initscr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit feeeb70

Please sign in to comment.