cpython: 52a06812d5da (original) (raw)
Mercurial > cpython
changeset 94273:52a06812d5da
Merge: #23215: note that time.sleep affects the current thread only. [#23215]
R David Murray rdmurray@bitdance.com | |
---|---|
date | Sun, 25 Jan 2015 15:47:06 -0500 |
parents | a858cde113f2(current diff)3a9b1e5fe179(diff) |
children | dd8a03e98158 |
files | Doc/library/time.rst |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-)[+] [-] Doc/library/time.rst 13 |
line wrap: on
line diff
--- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -342,12 +342,13 @@ The module defines the following functio .. function:: 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 :func:
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.
- 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 routine. Also, the suspension time may be longer than
- requested by an arbitrary amount because of the scheduling of other activity
- in the system.