1

Why is it perfectly acceptable to not put Exception information in documentation?
I know we're supposed to test our code and Exception types are acquired that way, but I really believe stating just a few common Exception types in documentation would cure the curse of;
>> except Exception as E:
Which is not much use to anyone.

Comments
  • 2
    I agree, just specifying the exception type a function returns is a huge improvement.
Add Comment