]> granicus.if.org Git - python/commitdiff
#23251: note that time.sleep affects the current thread only.
authorR David Murray <rdmurray@bitdance.com>
Sun, 25 Jan 2015 20:48:26 +0000 (15:48 -0500)
committerR David Murray <rdmurray@bitdance.com>
Sun, 25 Jan 2015 20:48:26 +0000 (15:48 -0500)
This is parallel to the language used in the unix man page.

Doc/library/time.rst

index 04ddef9be03f506befdb747442643ed99aa9fe94..12b05bd78919d5ba708cacb2e419a8753a592056 100644 (file)
@@ -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