diff options
author | Guido van Rossum <guido@python.org> | 1999-08-19 14:42:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-08-19 14:42:54 (GMT) |
commit | b3fc9d148df78d6f8dfa94714b1dd3c4f2748d39 (patch) | |
tree | 3df849eca8ed541b8a49518ff8daede9217edaea /Doc/lib | |
parent | a5456d5042b3ac8d3b190fbdb6c67138607abfab (diff) | |
download | cpython-b3fc9d148df78d6f8dfa94714b1dd3c4f2748d39.zip cpython-b3fc9d148df78d6f8dfa94714b1dd3c4f2748d39.tar.gz cpython-b3fc9d148df78d6f8dfa94714b1dd3c4f2748d39.tar.bz2 |
Added disclaimer to the sleep() function.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libtime.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex index 1c9ffe9..0c28bf2 100644 --- a/Doc/lib/libtime.tex +++ b/Doc/lib/libtime.tex @@ -151,6 +151,11 @@ represented as a valid time, \exception{OverflowError} is raised. \begin{funcdesc}{sleep}{secs} Suspend execution for the given number of seconds. The argument may be a floating point number to indicate a more precise sleep time. +The actual suspension time may be less than that requested because any +caught signal will terminate the \function{sleep()} following +execution of that signal's catching routine. Also, the suspension +time may be longer than requested by an arbitrary amount because of +the scheduling of other activity in the system. \end{funcdesc} \begin{funcdesc}{strftime}{format, tuple} |