mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
`curses.wrapper` returns the return value of the function it is passed, but its function argument is declared as `Callable[..., Any]` while its return type is `None`. This changes the definition of `curses.wrapper` to use a `TypeVar` that relates the return type of its function argument to its own return type.