summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-01-25 20:48:26 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-01-25 20:48:26 (GMT)
commitf8fe12a5a6d27fc0616e68e27755f0c963b8e98c (patch)
tree809cbc9a6bcd33832b8d985ea622c45f0f5acd45 /Doc
parent812b9756a0626b6915c3ff5563e51def9e968580 (diff)
downloadcpython-f8fe12a5a6d27fc0616e68e27755f0c963b8e98c.zip
cpython-f8fe12a5a6d27fc0616e68e27755f0c963b8e98c.tar.gz
cpython-f8fe12a5a6d27fc0616e68e27755f0c963b8e98c.tar.bz2
#23251: note that time.sleep affects the current thread only.
This is parallel to the language used in the unix man page.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/time.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 04ddef9..12b05bd 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -222,7 +222,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 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