Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/signal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ The :mod:`signal` module defines the following functions:

.. function:: raise_signal(signum)

Sends a signal to the calling process. Returns nothing.
Sends a signal to the calling thread, not the entire process. Returns nothing.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • While we're here, it might be worth mentioning that on POSIX systems, this is equivalent to calling signal.pthread_kill(threading.get_ident(), signum). Or, we could just link to the manpages for raise.
  • This is the correct description for POSIX, but what about Windows?


.. versionadded:: 3.8

Expand Down