[docs] [issue23432] Duplicate content in SystemExit documentation

Berker Peksag report at bugs.python.org
Tue Feb 10 13:29:15 CET 2015


New submission from Berker Peksag:

>From https://docs.python.org/3/library/exceptions.html#SystemExit

    Also, this exception derives directly from BaseException and not Exception, since it is not technically an error.

and

    The exception inherits from BaseException instead of Exception so that it is not accidentally caught by code that catches Exception. This allows the exception to properly propagate up and cause the interpreter to exit.

Here is a patch to remove the duplicate content and document the code attribute properly.

----------
assignee: docs at python
components: Documentation
files: systemexit.diff
keywords: patch
messages: 235684
nosy: berker.peksag, docs at python
priority: normal
severity: normal
stage: patch review
status: open
title: Duplicate content in SystemExit documentation
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file38082/systemexit.diff

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


More information about the docs mailing list