Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libtime.tex @ 11207:c388f00affe7 legacy-trunk
Added disclaimer to the sleep() function.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 19 Aug 1999 14:42:54 +0000 |
| parents | 838cb34abb79 |
| children | e82e82b3b9ad |
line wrap: on
line diff
--- a/Doc/lib/libtime.tex Thu Aug 19 14:40:27 1999 +0000 +++ b/Doc/lib/libtime.tex Thu Aug 19 14:42:54 1999 +0000 @@ -151,6 +151,11 @@ \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}
