"returns XXX" - that will confuse folk ;)
I sometimes find creating a constant tuple for exceptions useful. You might find it nice here.
caught_errors = (...) except caught_errors: ...
mainly useful when you want the same set in multiple places.
« Back to merge proposal
"returns XXX" - that will confuse folk ;)
I sometimes find creating a constant tuple for exceptions useful. You might find it nice here.
caught_errors = (...)
except caught_errors:
...
mainly useful when you want the same set in multiple places.