summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hahler <github@thequod.de>2019-05-06 15:39:06 (GMT)
committerDino Viehland <dinoviehland@gmail.com>2019-05-06 15:39:05 (GMT)
commitcec01849f142ea96731b4725975b89d3af757656 (patch)
tree4d6bd354e1962017b4767b05b9ad491b9762f4d4
parent6b95149eccac540a911a5ada03fcb7d623a0de37 (diff)
downloadcpython-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.rst4
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