A proposal for java's "throws" in python: Extend type hints to cover exceptions

https://programming.dev/post/5934266

A proposal for java's "throws" in python: Extend type hints to cover exceptions - programming.dev

This is a discussion on Python’s forums about adding something akin to a throws keyword in python.

Yeah, let’s not. This is not a good idea