cpython: 55ad65c4f9e2 (original) (raw)
Mercurial > cpython
changeset 94271:55ad65c4f9e2 3.4
#23251: Note that time.sleep affects the calling thread only. This change parallels the language used in the unix man page. [#23251]
R David Murray rdmurray@bitdance.com | |
---|---|
date | Sun, 25 Jan 2015 15:45:14 -0500 |
parents | fcab9c106f2f |
children | 3a9b1e5fe179 |
files | Doc/library/time.rst |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-)[+] [-] Doc/library/time.rst 3 |
line wrap: on
line diff
--- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -342,7 +342,8 @@ The module defines the following functio .. function:: sleep(secs)
- Suspend execution of the calling thread 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 :func:
sleep
following execution of that signal's catching