diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-01-25 20:45:14 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-01-25 20:45:14 (GMT) |
commit | f1f9675b8a83ed6d84f212d1b8fb036c40e6c8d8 (patch) | |
tree | 477f5fab9ffe773a92767cb920ae8a78a2cf667a /Doc | |
parent | e6cc70123ed49d937822de262d22f42b38ed7f25 (diff) | |
download | cpython-f1f9675b8a83ed6d84f212d1b8fb036c40e6c8d8.zip cpython-f1f9675b8a83ed6d84f212d1b8fb036c40e6c8d8.tar.gz cpython-f1f9675b8a83ed6d84f212d1b8fb036c40e6c8d8.tar.bz2 |
#23251: Note that time.sleep affects the calling thread only.
This change parallels the language used in the unix man page.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/time.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 829488f..eb073aa 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -342,7 +342,8 @@ The module defines the following functions and data items: .. function:: sleep(secs) - Suspend execution for the given number of seconds. The argument may be a + 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 |