DSM <dsm...@users.sourceforge.net> added the comment:

There's more than a typo wrong with the example there-- "import
traceback" doesn't bring format_list into scope, and so it should be
traceback.format_list.

Patch attached which turns the example into something which passes a
doctest.

----------
keywords: +patch
nosy: +dsm001
Added file: http://bugs.python.org/file13796/traceback.example.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5856>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to