Y
Hacker News
new
|
ask
|
show
|
jobs
by
olejorgenb
877 days ago
Or a bound typevar:
T = TypeVar("T", bound=int | list[int]) def(x: T) -> T: