summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-28 20:35:35 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-28 20:35:35 (GMT)
commit01546a88b8dfa5637ac0d29f7852f81032b31f27 (patch)
tree4ab69fbb66309aa755d7e96d869037a46e282e0f
parent75f7490843499812b3537fea31fc89e220e43a45 (diff)
downloadcpython-01546a88b8dfa5637ac0d29f7852f81032b31f27.zip
cpython-01546a88b8dfa5637ac0d29f7852f81032b31f27.tar.gz
cpython-01546a88b8dfa5637ac0d29f7852f81032b31f27.tar.bz2
Closes #22749: remove outdated advice to use clock() for accurate timing.
-rw-r--r--Doc/library/time.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 64b5e04..829488f 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -133,8 +133,7 @@ The module defines the following functions and data items:
On Unix, return the current processor time as a floating point number expressed
in seconds. The precision, and in fact the very definition of the meaning of
- "processor time", depends on that of the C function of the same name, but in any
- case, this is the function to use for benchmarking Python or timing algorithms.
+ "processor time", depends on that of the C function of the same name.
On Windows, this function returns wall-clock seconds elapsed since the first
call to this function, as a floating point number, based on the Win32 function