From c5026f8a7b0870d7ada0a4cc009ed13f38446102 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 22 Oct 2009 15:04:09 +0000 Subject: [PATCH] #7088: document new functions in signal as Unix-only. --- Doc/library/signal.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst index 32fd3938aa9..84f08b3336d 100644 --- a/Doc/library/signal.rst +++ b/Doc/library/signal.rst @@ -158,7 +158,7 @@ The :mod:`signal` module defines the following functions: The old values are returned as a tuple: (delay, interval). Attempting to pass an invalid interval timer will cause an - :exc:`ItimerError`. + :exc:`ItimerError`. Availability: Unix. .. versionadded:: 2.6 @@ -166,6 +166,7 @@ The :mod:`signal` module defines the following functions: .. function:: getitimer(which) Returns current value of a given interval timer specified by *which*. + Availability: Unix. .. versionadded:: 2.6 @@ -186,14 +187,14 @@ The :mod:`signal` module defines the following functions: .. function:: siginterrupt(signalnum, flag) - Change system call restart behaviour: if *flag* is :const:`False`, system calls - will be restarted when interrupted by signal *signalnum*, otherwise system calls will - be interrupted. Returns nothing. Availability: Unix (see the man page - :manpage:`siginterrupt(3)` for further information). + Change system call restart behaviour: if *flag* is :const:`False`, system + calls will be restarted when interrupted by signal *signalnum*, otherwise + system calls will be interrupted. Returns nothing. Availability: Unix (see + the man page :manpage:`siginterrupt(3)` for further information). - Note that installing a signal handler with :func:`signal` will reset the restart - behaviour to interruptible by implicitly calling :cfunc:`siginterrupt` with a true *flag* - value for the given signal. + Note that installing a signal handler with :func:`signal` will reset the + restart behaviour to interruptible by implicitly calling + :cfunc:`siginterrupt` with a true *flag* value for the given signal. .. versionadded:: 2.6