Use TypeVar for setupmethod()
Before adoption: this commit came in with the history the project adopted, so no landing records it.
TypeVar is needed to preserve function signatures. The type cast for update_wrapper is needed because wapper_func can not use the full signature that f does.
authored by Alex Hedges · committed by Phil Jones · parent bf98271 · Browse files · 1 file+4 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+4 added−2 removed
- other:+4 added−2 removed