Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/common/pylint_data/messages/bare-except/details.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ A good rule of thumb is to limit use of bare 'except' clauses to two
cases: 1. If the exception handler will be printing out or logging the
traceback; at least the user will be aware that an error has occurred.
2. If the code needs to do some cleanup work, but then lets the
exception propagate upwards with raise. [try\...finally]{.title-ref} can
exception propagate upwards with raise. [`try\...finally`](https://docs.python.org/3/reference/compound_stmts.html#finally-clause) can
be a better way to handle this case.