[issue5856] Minor typo in traceback example

DSM report at bugs.python.org
Mon Apr 27 16:55:20 CEST 2009


DSM <dsm001 at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5856>
_______________________________________


More information about the Python-bugs-list mailing list