diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-23 21:52:23 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-23 21:52:23 (GMT) |
commit | 767c0a82adb240db69cba2dc2bd8bc0ada095c96 (patch) | |
tree | bbd233f175896f97579b70a3d5dc5e4652cf0b16 /Doc/library/signal.rst | |
parent | 5a705e72db2d1a0f232115fb65eea55af57b4883 (diff) | |
download | cpython-767c0a82adb240db69cba2dc2bd8bc0ada095c96.zip cpython-767c0a82adb240db69cba2dc2bd8bc0ada095c96.tar.gz cpython-767c0a82adb240db69cba2dc2bd8bc0ada095c96.tar.bz2 |
Mention InterruptedError in the doc for new function signal.sigwaitinfo
Diffstat (limited to 'Doc/library/signal.rst')
-rw-r--r-- | Doc/library/signal.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst index cbb9534..4fc3fd6 100644 --- a/Doc/library/signal.rst +++ b/Doc/library/signal.rst @@ -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`, |