summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVladimir Matveev <v2matveev@outlook.com>2019-01-08 09:58:25 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-01-08 09:58:25 (GMT)
commitc24c6c2c9357da99961bf257078240529181daf3 (patch)
tree552b9c627f21770d971d26f0d7d38e8a1b58ea02 /Doc
parente61cc481e02b758c8d8289163102c236d0658a55 (diff)
downloadcpython-c24c6c2c9357da99961bf257078240529181daf3.zip
cpython-c24c6c2c9357da99961bf257078240529181daf3.tar.gz
cpython-c24c6c2c9357da99961bf257078240529181daf3.tar.bz2
bpo-35568: add 'raise_signal' function (GH-11335)
As in title, expose C `raise` function as `raise_function` in `signal` module. Also drop existing `raise_signal` in `_testcapi` module and replace all usages with new function. https://bugs.python.org/issue35568
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/signal.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index 5c48c88..ac6cad9 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -237,6 +237,13 @@ The :mod:`signal` module defines the following functions:
:func:`sigpending`.
+.. function:: raise_signal(signum)
+
+ Sends a signal to the calling process. Returns nothing.
+
+ .. versionadded:: 3.8
+
+
.. function:: pthread_kill(thread_id, signalnum)
Send the signal *signalnum* to the thread *thread_id*, another thread in the