diff options
| author | Ikko Ashimine <eltociear@gmail.com> | 2021-04-17 15:32:53 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-17 12:02:53 +0530 |
| commit | cfaa2d338bd72af63a35a424515b47a183cefc14 (patch) | |
| tree | dc7925d17286d215f8625e3dddb68ce8afc08621 | |
| parent | adf24bd835ed8f76dcc51aa98c8c54275e86965b (diff) | |
| download | cpython-git-cfaa2d338bd72af63a35a424515b47a183cefc14.tar.gz | |
Fix typo in exceptions.rst (GH-25434)
attemps -> attempts
| -rw-r--r-- | Doc/c-api/exceptions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index 158672d86b..21c508dc30 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 |
