News for hackers. Stuff that matters.
Re:Show HN: Python-Type-Challenges, master Python typing wit... by laike9m on Friday December 01, 2023 @01:51AM (#38483942)
Your solution is fine. Pyright can infer the return types, so you don't need to annotate the return type.

In fact this is describe in the solution https://github.com/laike9m/Python-Type-Challenges/blob/main/...

There are no comments on this comment yet.