News for hackers. Stuff that matters.
Re:Statically-typed error handling in Python using Mypy by uryga on Sunday December 08, 2019 @05:22PM (#21738819)
> Does mypy have type guards?

not yet, maybe in the future. might be possible to emulate some use cases with Literal Types. tracking issue:

https://github.com/python/mypy/issues/5206

There are no comments on this comment yet.