3 ms·
No more than you'd need comments like `# this might actually return None`. As long as you're consistent, either approach should be understandable by the people
by kstrauser 4y ago
No more than you'd need comments like `# this might actually return None`. As long as you're consistent, either approach should be understandable by the people working with it.
Note that you can also name functions like `validate_signature_or_raise` if you want to be very explicit.