Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7f9b9a88
Commit
7f9b9a88
authored
Jan 25, 2015
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#23251: note that time.sleep affects the current thread only.
This is parallel to the language used in the unix man page.
parent
caae8bd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Doc/library/time.rst
Doc/library/time.rst
+2
-1
No files found.
Doc/library/time.rst
View file @
7f9b9a88
...
@@ -222,7 +222,8 @@ The module defines the following functions and data items:
...
@@ -222,7 +222,8 @@ The module defines the following functions and data items:
.. function:: sleep(secs)
.. 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
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
suspension time may be less than that requested because any caught signal will
terminate the :func:`sleep` following execution of that signal's catching
terminate the :func:`sleep` following execution of that signal's catching
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment