]> granicus.if.org Git - python/commitdiff
#23251: Note that time.sleep affects the calling thread only.
authorR David Murray <rdmurray@bitdance.com>
Sun, 25 Jan 2015 20:45:14 +0000 (15:45 -0500)
committerR David Murray <rdmurray@bitdance.com>
Sun, 25 Jan 2015 20:45:14 +0000 (15:45 -0500)
This change parallels the language used in the unix man page.

Doc/library/time.rst

index 829488f7cdac4212c28b7f44e6689870d59b8a19..eb073aa840f966079062cc30bdd778f3337a740b 100644 (file)
@@ -342,7 +342,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 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