New submission from Niels de Vos <niels.de...@wincor-nixdorf.com>: The last example of traceback (found on <http://docs.python.org/library/traceback.html> release 2.6.2) contains a typo.
>>> theError = IndexError('tuple indx out of range') >>> traceback.format_exception_only(type(theError), theError) ['IndexError: tuple index out of range\n'] IndexError('tuple indx out of range') should be IndexError('tuple index out of range'). ---------- assignee: georg.brandl components: Documentation messages: 86662 nosy: georg.brandl, nielsdevos severity: normal status: open title: Minor typo in traceback example versions: Python 2.6 _______________________________________ 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