]> granicus.if.org Git - python/commitdiff
Added disclaimer to the sleep() function.
authorGuido van Rossum <guido@python.org>
Thu, 19 Aug 1999 14:42:54 +0000 (14:42 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 19 Aug 1999 14:42:54 +0000 (14:42 +0000)
Doc/lib/libtime.tex

index 1c9ffe95a8cc631e6448489efadf112a3987df35..0c28bf26471c4a76042c6fc61a874dff8cd5c744 100644 (file)
@@ -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}