Why did someone write this?
Benjamin Niemann
pink at odahoda.de
Fri Apr 7 14:33:38 EDT 2006
Sandra-24 wrote:
> try:
> exc_type, exc_value, exc_traceback = sys.exc_info()
> # Do something
> finally:
> exc_traceback = None
>
> Why the try/finally with setting exc_traceback to None? The python docs
> didn't give me any clue, and I'm wondering what this person knows that
> I don't.
You just have not found the right part of the doc:
http://docs.python.org/lib/module-sys.html#l2h-337
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
More information about the Python-list
mailing list