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>
This commit is contained in:
parent
6b95149ecc
commit
cec01849f1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue