summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-08-19 01:38:03 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-08-19 01:38:03 (GMT)
commitdbec7d2c166650aa30dc35f373fc337fab35aa28 (patch)
treeb1cc848962a432bbc287835988d1be07f96513c2 /Doc/lib
parenta6b9e3c814d4fed1ef20f82a7eb95f8c805567b2 (diff)
downloadcpython-dbec7d2c166650aa30dc35f373fc337fab35aa28.zip
cpython-dbec7d2c166650aa30dc35f373fc337fab35aa28.tar.gz
cpython-dbec7d2c166650aa30dc35f373fc337fab35aa28.tar.bz2
Improve Windows time.clock() blurb; was missing return type and unit.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libtime.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex
index 83d520e..2e9de60 100644
--- a/Doc/lib/libtime.tex
+++ b/Doc/lib/libtime.tex
@@ -134,10 +134,10 @@ on that of the C function of the same name, but in any case, this is
the function to use for benchmarking\index{benchmarking} Python or
timing algorithms.
-On Windows, this function returns the nearest approximation to
-wall-clock time since the first call to this function, based on the
-Win32 function \cfunction{QueryPerformanceCounter()}. The resolution
-is typically better than one microsecond.
+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 \cfunction{QueryPerformanceCounter()}.
+The resolution is typically better than one microsecond.
\end{funcdesc}
\begin{funcdesc}{ctime}{\optional{secs}}