commit | 46d3dc37e4a01e8d72b00ab9ad4e4a07022b7b64 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Mar 01 03:20:41 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Mar 01 03:20:41 2003 +0000 |
tree | d2c8e67f458cd38115f6865be8034150d9e7242c | |
parent | d1a283be269c66eb813948febc3ce6c9405fb64f [diff] |
- New function sys.exc_clear() clears the current exception. This is rarely needed, but can sometimes be useful to release objects referenced by the traceback held in sys.exc_info()[2]. (SF patch #693195.) Thanks to Kevin Jacobs!