commit | edd81b2402ae7e3b1c4aa24f28f46567674d3a75 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Sep 24 12:50:28 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Sep 24 12:50:28 2006 +0000 |
tree | 9c17e742d162d9b3f0ccf8468633bf59a7e1d1e6 | |
parent | a6b9ce185eec7127082c7d26112730099fa738ba [diff] |
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. (backport from rev. 51995)