summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-01-25 20:47:06 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-01-25 20:47:06 (GMT)
commit58f02019e0a772b5689b69182f4f162666657294 (patch)
treed71e611821756a6759483e0b960c316b755478e5
parentcc522bdd0c20790cd53352a4e6ae0528b97bfc0c (diff)
parent1923b627b50d26f37065e7ad51fc7eeccd7ac92f (diff)
downloadcpython-58f02019e0a772b5689b69182f4f162666657294.zip
cpython-58f02019e0a772b5689b69182f4f162666657294.tar.gz
cpython-58f02019e0a772b5689b69182f4f162666657294.tar.bz2
Merge: #23215: note that time.sleep affects the current thread only.
-rw-r--r--Doc/library/time.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 6669707..6bfd521 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -342,12 +342,13 @@ 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
- 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.
.. function:: strftime(format[, t])