]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in exceptions.rst (GH-25434)
authorIkko Ashimine <eltociear@gmail.com>
Sat, 17 Apr 2021 06:32:53 +0000 (15:32 +0900)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 06:32:53 +0000 (12:02 +0530)
attemps -> attempts

Doc/c-api/exceptions.rst

index 158672d86b325dd7fbdd69401c274255ab3d6d3e..21c508dc30ae2220ee6f7161486dfe684144b3a5 100644 (file)
@@ -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