Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
5 changes: 3 additions & 2 deletions Doc/library/signal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,9 @@ The :mod:`!signal` module defines the following functions:

.. function:: pause()

Cause the process to sleep until a signal is received; the appropriate handler
will then be called. Returns nothing.
Cause the process to sleep until a signal with an installed handler is
delivered; the handler will then be called. Signals that are ignored or
set to the default action do not wake the process. Returns nothing.

.. availability:: Unix.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Clarify the documentation for :func:`signal.pause` to explain that it only
returns when a signal with an installed handler is delivered, not when an
ignored signal arrives.
###########################################################################
Loading