]> granicus.if.org Git - python/commitdiff
Doc/c-api/exceptions.rst: fix grammar (#12091)
authorDaniel Hahler <github@thequod.de>
Mon, 6 May 2019 15:39:06 +0000 (17:39 +0200)
committerDino Viehland <dinoviehland@gmail.com>
Mon, 6 May 2019 15:39:05 +0000 (08:39 -0700)
* Doc/c-api/exceptions.rst: fix grammar

skip issue
skip news

* Use ", in that case"

Co-Authored-By: blueyed <github@thequod.de>
Doc/c-api/exceptions.rst

index 8c5f66cbef722b4e9565f489f0c83d1dba29c612..13f0aff1cf99b6321eb1caaf249b7d2bacd84089 100644 (file)
@@ -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