News for hackers. Stuff that matters.
Re:Enough of These Python Practices by manfre on Sunday February 06, 2022 @07:01PM (#30238447)
The type annotation `Optional[Tuple[int, int]]` is the equivalent to `None | Tuple[int, int]`. `Tuple[Optional[int], Optional[int]]` is what you wanted.

There are no comments on this comment yet.