mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Mention InterruptedError in the doc for new function signal.sigwaitinfo
This commit is contained in:
parent
5a705e72db
commit
767c0a82ad
1 changed files with 2 additions and 2 deletions
|
|
@ -353,8 +353,8 @@ The :mod:`signal` module defines the following functions:
|
|||
signals in *sigset* is already pending for the calling thread, the function
|
||||
will return immediately with information about that signal. The signal
|
||||
handler is not called for the delivered signal. The function raises an
|
||||
:exc:`OSError` with error number set to :const:`errno.EINTR` if it is
|
||||
interrupted by a signal that is not in *sigset*.
|
||||
:exc:`InterruptedError` if it is interrupted by a signal that is not in
|
||||
*sigset*.
|
||||
|
||||
The return value is an object representing the data contained in the
|
||||
:c:type:`siginfo_t` structure, namely: :attr:`si_signo`, :attr:`si_code`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue