Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a705e7 commit 767c0a8Copy full SHA for 767c0a8
1 file changed
Doc/library/signal.rst
@@ -353,8 +353,8 @@ The :mod:`signal` module defines the following functions:
353
signals in *sigset* is already pending for the calling thread, the function
354
will return immediately with information about that signal. The signal
355
handler is not called for the delivered signal. The function raises an
356
- :exc:`OSError` with error number set to :const:`errno.EINTR` if it is
357
- interrupted by a signal that is not in *sigset*.
+ :exc:`InterruptedError` if it is interrupted by a signal that is not in
+ *sigset*.
358
359
The return value is an object representing the data contained in the
360
:c:type:`siginfo_t` structure, namely: :attr:`si_signo`, :attr:`si_code`,
0 commit comments