Skip to content

Commit

Permalink
Also explicitly add filename
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed Feb 15, 2024
1 parent f023f94 commit 3775ab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6180,6 +6180,7 @@ def do_post_block_processing_cleanup(self, lineno: int) -> None:
self.function.docstring = self.format_docstring()
except ClinicError as exc:
exc.lineno = lineno
exc.filename = self.clinic.filename
raise


Expand Down

0 comments on commit 3775ab3

Please sign in to comment.