summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-04-17 06:32:53 (GMT)
committerGitHub <noreply@github.com>2021-04-17 06:32:53 (GMT)
commitcfaa2d338bd72af63a35a424515b47a183cefc14 (patch)
treedc7925d17286d215f8625e3dddb68ce8afc08621
parentadf24bd835ed8f76dcc51aa98c8c54275e86965b (diff)
downloadcpython-cfaa2d338bd72af63a35a424515b47a183cefc14.zip
cpython-cfaa2d338bd72af63a35a424515b47a183cefc14.tar.gz
cpython-cfaa2d338bd72af63a35a424515b47a183cefc14.tar.bz2
Fix typo in exceptions.rst (GH-25434)
attemps -> attempts
-rw-r--r--Doc/c-api/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 158672d..21c508d 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