4 ms·
...isn't that called a `try` block?
by pjz 8y ago
...isn't that called a `try` block?
- mmirate 8y agoYes, except for things that helpfully return "None" instead of raising an exception, on account of "not finding something is not exceptional behavior" or something like that. And since "raise" is a statement, you have to write your own "raise_if_none" function and sprinkle it everywhere...