@@ -95,7 +95,7 @@ The variables defined in the :mod:`signal` module are:
9595
9696 All the signal numbers are defined symbolically. For example, the hangup signal
9797 is defined as :const: `signal.SIGHUP `; the variable names are identical to the
98- names used in C programs, as found in ``<signal.h> ``. The Unix man page for
98+ names used in C programs, as found in ``<signal.h> ``. The Unix man page for
9999 ':c:func: `signal `' lists the existing signals (on some systems this is
100100 :manpage: `signal(2)`, on others the list is in :manpage: `signal(7)`). Note that
101101 not all systems define the same set of signal names; only those names defined by
@@ -193,10 +193,10 @@ The :mod:`signal` module defines the following functions:
193193 canceled (only one alarm can be scheduled at any time). The returned value is
194194 then the number of seconds before any previously set alarm was to have been
195195 delivered. If *time * is zero, no alarm is scheduled, and any scheduled alarm is
196- canceled. If the return value is zero, no alarm is currently scheduled. (See
197- the Unix man page :manpage: `alarm(2)`.)
196+ canceled. If the return value is zero, no alarm is currently scheduled.
198197
199- .. availability :: Unix.
198+ .. availability :: Unix. See the man page :manpage:`alarm(2)` for further
199+ information.
200200
201201
202202.. function :: getsignal(signalnum)
@@ -231,8 +231,10 @@ The :mod:`signal` module defines the following functions:
231231.. function :: pause()
232232
233233 Cause the process to sleep until a signal is received; the appropriate handler
234- will then be called. Returns nothing. Not on Windows. (See the Unix man page
235- :manpage: `signal(2)`.)
234+ will then be called. Returns nothing.
235+
236+ .. availability :: Unix. See the man page :manpage:`signal(2)` for further
237+ information.
236238
237239 See also :func: `sigwait `, :func: `sigwaitinfo `, :func: `sigtimedwait ` and
238240 :func: `sigpending `.
@@ -262,8 +264,8 @@ The :mod:`signal` module defines the following functions:
262264 If *signalnum * is 0, then no signal is sent, but error checking is still
263265 performed; this can be used to check if the target thread is still running.
264266
265- .. availability :: Unix (see the man page :manpage:`pthread_kill(3)` for further
266- information) .
267+ .. availability :: Unix. See the man page :manpage:`pthread_kill(3)` for further
268+ information.
267269
268270 See also :func: `os.kill `.
269271
@@ -293,7 +295,7 @@ The :mod:`signal` module defines the following functions:
293295 For example, ``signal.pthread_sigmask(signal.SIG_BLOCK, []) `` reads the
294296 signal mask of the calling thread.
295297
296- .. availability :: Unix. See the man page :manpage:`sigprocmask(3)` and
298+ .. availability :: Unix. See the man page :manpage:`sigprocmask(3)` and
297299 :manpage: `pthread_sigmask(3)` for further information.
298300
299301 See also :func: `pause `, :func: `sigpending ` and :func: `sigwait `.
@@ -380,8 +382,8 @@ The :mod:`signal` module defines the following functions:
380382 calls will be restarted when interrupted by signal *signalnum *, otherwise
381383 system calls will be interrupted. Returns nothing.
382384
383- .. availability :: Unix (see the man page :manpage:`siginterrupt(3)`
384- for further information) .
385+ .. availability :: Unix. See the man page :manpage:`siginterrupt(3)`
386+ for further information.
385387
386388 Note that installing a signal handler with :func: `signal ` will reset the
387389 restart behaviour to interruptible by implicitly calling
@@ -394,7 +396,7 @@ The :mod:`signal` module defines the following functions:
394396 be a callable Python object taking two arguments (see below), or one of the
395397 special values :const: `signal.SIG_IGN ` or :const: `signal.SIG_DFL `. The previous
396398 signal handler will be returned (see the description of :func: `getsignal `
397- above). (See the Unix man page :manpage: `signal(2)`.)
399+ above). (See the Unix man page :manpage: `signal(2)` for further information .)
398400
399401 When threads are enabled, this function can only be called from the main thread;
400402 attempting to call it from other threads will cause a :exc: `ValueError `
@@ -420,8 +422,8 @@ The :mod:`signal` module defines the following functions:
420422 thread (i.e., the signals which have been raised while blocked). Return the
421423 set of the pending signals.
422424
423- .. availability :: Unix (see the man page :manpage:`sigpending(2)` for further
424- information) .
425+ .. availability :: Unix. See the man page :manpage:`sigpending(2)` for further
426+ information.
425427
426428 See also :func: `pause `, :func: `pthread_sigmask ` and :func: `sigwait `.
427429
@@ -434,8 +436,8 @@ The :mod:`signal` module defines the following functions:
434436 signals specified in the signal set *sigset *. The function accepts the signal
435437 (removes it from the pending list of signals), and returns the signal number.
436438
437- .. availability :: Unix (see the man page :manpage:`sigwait(3)` for further
438- information) .
439+ .. availability :: Unix. See the man page :manpage:`sigwait(3)` for further
440+ information.
439441
440442 See also :func: `pause `, :func: `pthread_sigmask `, :func: `sigpending `,
441443 :func: `sigwaitinfo ` and :func: `sigtimedwait `.
@@ -459,8 +461,8 @@ The :mod:`signal` module defines the following functions:
459461 :attr: `si_errno `, :attr: `si_pid `, :attr: `si_uid `, :attr: `si_status `,
460462 :attr: `si_band `.
461463
462- .. availability :: Unix (see the man page :manpage:`sigwaitinfo(2)` for further
463- information) .
464+ .. availability :: Unix. See the man page :manpage:`sigwaitinfo(2)` for further
465+ information.
464466
465467 See also :func: `pause `, :func: `sigwait ` and :func: `sigtimedwait `.
466468
@@ -478,8 +480,8 @@ The :mod:`signal` module defines the following functions:
478480 specifying a timeout. If *timeout * is specified as :const: `0 `, a poll is
479481 performed. Returns :const: `None ` if a timeout occurs.
480482
481- .. availability :: Unix (see the man page :manpage:`sigtimedwait(2)` for further
482- information) .
483+ .. availability :: Unix. See the man page :manpage:`sigtimedwait(2)` for further
484+ information.
483485
484486 See also :func: `pause `, :func: `sigwait ` and :func: `sigwaitinfo `.
485487
0 commit comments