Commit 767c0a82 authored by Antoine Pitrou's avatar Antoine Pitrou

Mention InterruptedError in the doc for new function signal.sigwaitinfo

parent 5a705e72
...@@ -353,8 +353,8 @@ The :mod:`signal` module defines the following functions: ...@@ -353,8 +353,8 @@ The :mod:`signal` module defines the following functions:
signals in *sigset* is already pending for the calling thread, the function signals in *sigset* is already pending for the calling thread, the function
will return immediately with information about that signal. The signal will return immediately with information about that signal. The signal
handler is not called for the delivered signal. The function raises an 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 :exc:`InterruptedError` if it is interrupted by a signal that is not in
interrupted by a signal that is not in *sigset*. *sigset*.
The return value is an object representing the data contained in the The return value is an object representing the data contained in the
:c:type:`siginfo_t` structure, namely: :attr:`si_signo`, :attr:`si_code`, :c:type:`siginfo_t` structure, namely: :attr:`si_signo`, :attr:`si_code`,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment