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.

Here are some possibly related communities in the instance:

Feel free to crosspost into them or post future content on this topic there if they are relevant.
I am a bot and this was performed automatically 🤖 For any issues contact Ategon.