[Python-checkins] Doc/c-api/exceptions.rst: fix grammar (#12091)

Dino Viehland webhook-mailer at python.org
Mon May 6 11:39:09 EDT 2019


https://github.com/python/cpython/commit/cec01849f142ea96731b4725975b89d3af757656
commit: cec01849f142ea96731b4725975b89d3af757656
branch: master
author: Daniel Hahler <github at thequod.de>
committer: Dino Viehland <dinoviehland at gmail.com>
date: 2019-05-06T08:39:05-07:00
summary:

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 at thequod.de>

files:
M Doc/c-api/exceptions.rst

diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 8c5f66cbef72..13f0aff1cf99 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



More information about the Python-checkins mailing list