[issue5281] Slight inconsistency in documentation appearances of RuntimeError

Mitchell Model report at bugs.python.org
Mon Feb 16 15:47:57 CET 2009


New submission from Mitchell Model <mlm at acm.org>:

The Library Exceptions documentation describes RuntimeException as "mostly 
a relic from a previous version of the interpreter; it is not used very 
much any more." Yet, the Reference in describing the raise statement uses 
RuntimeException as an example:

raise RuntimeError("foo occurred").with_traceback(tracebackobj)

This seems slightly misleading. It might be better to just use Exception 
as the example there.

----------
assignee: georg.brandl
components: Documentation
messages: 82241
nosy: MLModel, georg.brandl
severity: normal
status: open
title: Slight inconsistency in documentation appearances of RuntimeError
versions: Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5281>
_______________________________________


More information about the Python-bugs-list mailing list