diff options
author | Daniel Hahler <github@thequod.de> | 2019-05-06 15:39:06 (GMT) |
---|---|---|
committer | Dino Viehland <dinoviehland@gmail.com> | 2019-05-06 15:39:05 (GMT) |
commit | cec01849f142ea96731b4725975b89d3af757656 (patch) | |
tree | 4d6bd354e1962017b4767b05b9ad491b9762f4d4 | |
parent | 6b95149eccac540a911a5ada03fcb7d623a0de37 (diff) | |
download | cpython-cec01849f142ea96731b4725975b89d3af757656.zip cpython-cec01849f142ea96731b4725975b89d3af757656.tar.gz cpython-cec01849f142ea96731b4725975b89d3af757656.tar.bz2 |
Doc/c-api/exceptions.rst: fix grammar (#12091)
* Doc/c-api/exceptions.rst: fix grammar
skip issue
skip news
* Use ", in that case"
Co-Authored-By: blueyed <github@thequod.de>
-rw-r--r-- | Doc/c-api/exceptions.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index 8c5f66c..13f0aff 100644 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@ -53,8 +53,8 @@ Printing and clearing .. c:function:: void PyErr_PrintEx(int set_sys_last_vars) Print a standard traceback to ``sys.stderr`` and clear the error indicator. - **Unless** the error is a ``SystemExit``. In that case the no traceback - is printed and Python process will exit with the error code specified by + **Unless** the error is a ``SystemExit``, in that case no traceback is + printed and the Python process will exit with the error code specified by the ``SystemExit`` instance. Call this function **only** when the error indicator is set. Otherwise it |