cpython: 5e01c68cabbf (original) (raw)
Mercurial > cpython
changeset 94274:5e01c68cabbf 2.7
#23251: note that time.sleep affects the current thread only. This is parallel to the language used in the unix man page. [#23251]
R David Murray rdmurray@bitdance.com | |
---|---|
date | Sun, 25 Jan 2015 15:48:26 -0500 |
parents | c2bba3c9424b |
children | 5db28a3199b2 |
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 @@ -222,7 +222,8 @@ The module defines the following functio .. function:: sleep(secs)
- Suspend execution of the current 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