From: Ikko Ashimine Date: Sat, 17 Apr 2021 06:32:53 +0000 (+0900) Subject: Fix typo in exceptions.rst (GH-25434) X-Git-Tag: v3.10.0b1~257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cfaa2d338bd72af63a35a424515b47a183cefc14;p=thirdparty%2FPython%2Fcpython.git Fix typo in exceptions.rst (GH-25434) attemps -> attempts --- diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index 158672d86b32..21c508dc30ae 100644 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@ -512,7 +512,7 @@ Signal Handling and if so, invokes the corresponding signal handler. If the :mod:`signal` module is supported, this can invoke a signal handler written in Python. - The function attemps to handle all pending signals, and then returns ``0``. + The function attempts to handle all pending signals, and then returns ``0``. However, if a Python signal handler raises an exception, the error indicator is set and the function returns ``-1`` immediately (such that other pending signals may not have been handled yet: they will be on the