mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#23251: Note that time.sleep affects the calling thread only.
This change parallels the language used in the unix man page.
This commit is contained in:
parent
e6cc70123e
commit
f1f9675b8a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue