Skip to content

Commit 7c2b415

Browse files
authored
[Pylint Data: bare-except]: Update details.md (#80)
Fixed broken ref to try\...finally.
1 parent 9c60559 commit 7c2b415

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/common/pylint_data/messages/bare-except

lib/common/pylint_data/messages/bare-except/details.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ A good rule of thumb is to limit use of bare 'except' clauses to two
22
cases: 1. If the exception handler will be printing out or logging the
33
traceback; at least the user will be aware that an error has occurred.
44
2. If the code needs to do some cleanup work, but then lets the
5-
exception propagate upwards with raise. [try\...finally]{.title-ref} can
5+
exception propagate upwards with raise. [`try\...finally`](https://docs.python.org/3/reference/compound_stmts.html#finally-clause) can
66
be a better way to handle this case.

0 commit comments

Comments
 (0)