News for hackers. Stuff that matters.
Re:Python types have an expectations problem by olejorgenb on Monday January 29, 2024 @12:27PM (#39179144)
Or a bound typevar:

    T = TypeVar("T", bound=int | list[int])

    def(x: T) -> T:

There are no comments on this comment yet.