Skip to content

Commit

Permalink
Add missing traceback line in f-string-in-exception docstring. (#12508
Browse files Browse the repository at this point in the history
)

## Summary

Add missing traceback line in `f-string-in-exception` docstring.

Solves #12504.
  • Loading branch information
UriyaHarpeness authored Jul 25, 2024
1 parent c03f257 commit 175e5d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ impl Violation for RawStringInException {
///
/// Which will produce a traceback like:
/// ```console
/// Traceback (most recent call last):
/// File "tmp.py", line 3, in <module>
/// raise RuntimeError(msg)
/// RuntimeError: 'Some value' is incorrect
Expand Down

0 comments on commit 175e5d7

Please sign in to comment.