Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend typespecs with no_return where function can raise #133

Closed
wants to merge 1 commit into from
Closed

Extend typespecs with no_return where function can raise #133

wants to merge 1 commit into from

Conversation

preciz
Copy link
Contributor

@preciz preciz commented Oct 30, 2019

Thanks for reviewing 👋 .

@wojtekmach
Copy link
Contributor

most functions will raise if given incorrect arguments and we're not annotating them as no_return; we reserve that type for functions that never return (always raise, loop indefinitely, etc)

@preciz
Copy link
Contributor Author

preciz commented Apr 4, 2020

Thank you for the clarification!

@preciz preciz closed this Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants