You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The README shows use with pattern matching. Excerpt:
match divide(a, b):
case Ok(value):
print(f"{a} // {b} == {value}")
case Err(e):
print(e)
You ought to put this example front and center in the README.md and on the pypi.org page. Everyone should see this. It could (and in my opinion should) advance the standard for Pythonic error handling.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The README shows use with pattern matching. Excerpt:
You ought to put this example front and center in the README.md and on the pypi.org page. Everyone should see this. It could (and in my opinion should) advance the standard for Pythonic error handling.
Beta Was this translation helpful? Give feedback.
All reactions