@@ -95,7 +95,7 @@ The variables defined in the :mod:`signal` module are:
95
95
96
96
All the signal numbers are defined symbolically. For example, the hangup signal
97
97
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
99
99
':c:func: `signal `' lists the existing signals (on some systems this is
100
100
:manpage: `signal(2)`, on others the list is in :manpage: `signal(7)`). Note that
101
101
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:
193
193
canceled (only one alarm can be scheduled at any time). The returned value is
194
194
then the number of seconds before any previously set alarm was to have been
195
195
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.
198
197
199
- .. availability :: Unix.
198
+ .. availability :: Unix. See the man page :manpage:`alarm(2)` for further
199
+ information.
200
200
201
201
202
202
.. function :: getsignal(signalnum)
@@ -231,8 +231,10 @@ The :mod:`signal` module defines the following functions:
231
231
.. function :: pause()
232
232
233
233
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.
236
238
237
239
See also :func: `sigwait `, :func: `sigwaitinfo `, :func: `sigtimedwait ` and
238
240
:func: `sigpending `.
@@ -262,8 +264,8 @@ The :mod:`signal` module defines the following functions:
262
264
If *signalnum * is 0, then no signal is sent, but error checking is still
263
265
performed; this can be used to check if the target thread is still running.
264
266
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.
267
269
268
270
See also :func: `os.kill `.
269
271
@@ -293,7 +295,7 @@ The :mod:`signal` module defines the following functions:
293
295
For example, ``signal.pthread_sigmask(signal.SIG_BLOCK, []) `` reads the
294
296
signal mask of the calling thread.
295
297
296
- .. availability :: Unix. See the man page :manpage:`sigprocmask(3)` and
298
+ .. availability :: Unix. See the man page :manpage:`sigprocmask(3)` and
297
299
:manpage: `pthread_sigmask(3)` for further information.
298
300
299
301
See also :func: `pause `, :func: `sigpending ` and :func: `sigwait `.
@@ -380,8 +382,8 @@ The :mod:`signal` module defines the following functions:
380
382
calls will be restarted when interrupted by signal *signalnum *, otherwise
381
383
system calls will be interrupted. Returns nothing.
382
384
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.
385
387
386
388
Note that installing a signal handler with :func: `signal ` will reset the
387
389
restart behaviour to interruptible by implicitly calling
@@ -394,7 +396,7 @@ The :mod:`signal` module defines the following functions:
394
396
be a callable Python object taking two arguments (see below), or one of the
395
397
special values :const: `signal.SIG_IGN ` or :const: `signal.SIG_DFL `. The previous
396
398
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 .)
398
400
399
401
When threads are enabled, this function can only be called from the main thread;
400
402
attempting to call it from other threads will cause a :exc: `ValueError `
@@ -420,8 +422,8 @@ The :mod:`signal` module defines the following functions:
420
422
thread (i.e., the signals which have been raised while blocked). Return the
421
423
set of the pending signals.
422
424
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.
425
427
426
428
See also :func: `pause `, :func: `pthread_sigmask ` and :func: `sigwait `.
427
429
@@ -434,8 +436,8 @@ The :mod:`signal` module defines the following functions:
434
436
signals specified in the signal set *sigset *. The function accepts the signal
435
437
(removes it from the pending list of signals), and returns the signal number.
436
438
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.
439
441
440
442
See also :func: `pause `, :func: `pthread_sigmask `, :func: `sigpending `,
441
443
:func: `sigwaitinfo ` and :func: `sigtimedwait `.
@@ -459,8 +461,8 @@ The :mod:`signal` module defines the following functions:
459
461
:attr: `si_errno `, :attr: `si_pid `, :attr: `si_uid `, :attr: `si_status `,
460
462
:attr: `si_band `.
461
463
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.
464
466
465
467
See also :func: `pause `, :func: `sigwait ` and :func: `sigtimedwait `.
466
468
@@ -478,8 +480,8 @@ The :mod:`signal` module defines the following functions:
478
480
specifying a timeout. If *timeout * is specified as :const: `0 `, a poll is
479
481
performed. Returns :const: `None ` if a timeout occurs.
480
482
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.
483
485
484
486
See also :func: `pause `, :func: `sigwait ` and :func: `sigwaitinfo `.
485
487
0 commit comments