From: R David Murray Date: Sun, 25 Jan 2015 20:48:26 +0000 (-0500) Subject: #23251: note that time.sleep affects the current thread only. X-Git-Tag: v2.7.10rc1~222^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8fe12a5a6d27fc0616e68e27755f0c963b8e98c;p=thirdparty%2FPython%2Fcpython.git #23251: note that time.sleep affects the current thread only. This is parallel to the language used in the unix man page. --- diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 04ddef9be03f..12b05bd78919 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