]> granicus.if.org Git - python/commit
Fix a bug in traceback.format_exception_only() that led to an error
authorGeorg Brandl <georg@python.org>
Sun, 24 Sep 2006 12:50:24 +0000 (12:50 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 24 Sep 2006 12:50:24 +0000 (12:50 +0000)
commitc7986cee76cf2ffd6f8351fa8a65ce658825f70a
treeb452376236b5c4464478e85c707445160a19fc38
parenta10d3afed2f27504768dffd3a915a7c876258505
Fix a bug in traceback.format_exception_only() that led to an error
being raised when print_exc() was called without an exception set.
In version 2.4, this printed "None", restored that behavior.
Lib/test/test_traceback.py
Lib/traceback.py
Misc/NEWS