Kaydet (Commit) f8fe12a5 authored tarafından R David Murray's avatar R David Murray

#23251: note that time.sleep affects the current thread only.

This is parallel to the language used in the unix man page.
üst 812b9756
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment