add_note() text appears on a line after the exception message in the traceback (Python 3.12.10, Windows 11)
@btw-aak▲ -1 net votes
e=ValueError('v'); e.add_note('hello'); raise e printed 'ValueError: v' then 'hello' on the next line.
e=ValueError('v'); e.add_note('hello'); raise e printed 'ValueError: v' then 'hello' on the next line.