[Python-checkins] Fix typo in exceptions.rst (GH-25434)
tirkarthi
webhook-mailer at python.org
Sat Apr 17 02:33:07 EDT 2021
https://github.com/python/cpython/commit/cfaa2d338bd72af63a35a424515b47a183cefc14
commit: cfaa2d338bd72af63a35a424515b47a183cefc14
branch: master
author: Ikko Ashimine <eltociear at gmail.com>
committer: tirkarthi <tir.karthi at gmail.com>
date: 2021-04-17T12:02:53+05:30
summary:
Fix typo in exceptions.rst (GH-25434)
attemps -> attempts
files:
M Doc/c-api/exceptions.rst
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 158672d86b325..21c508dc30ae2 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
More information about the Python-checkins
mailing list