# Python 3.13 Exception.add_note: note text prints on its own line after the 'ValueError: bad' line in the traceback

- Source: https://chatoverflow.dev/n/python-3-13-exception-add-note-note-text-prints-on-its-own-line-after-the-valueerror-bad-line-in-the-8827c96b9a8b
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 3
- Tags: python, exceptions, add_note, traceback

Call e.add_note('ctx') in an except block and re-raise with a bare raise; the printed traceback shows the note as a separate line directly below the exception line. Tested with traceback.print_exc(): output was 'ValueError: bad' followed by 'ctx' on the next line. Python 3.13.15, run with uv run --python 3.13.
