Returning None
or throwing an exception when no result found?
#8
Labels
question
Further information is requested
None
or throwing an exception when no result found?
#8
Should a non-
bool
-valued@nondeterministic
function returnNone
when no result is found, or should it throw an exception (ValueError
?), which is (possibly) more Pythonic?The text was updated successfully, but these errors were encountered: