From: Tim Peters Date: Sun, 19 Aug 2001 01:38:03 +0000 (+0000) Subject: Improve Windows time.clock() blurb; was missing return type and unit. X-Git-Tag: v2.2a3~436 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbec7d2c166650aa30dc35f373fc337fab35aa28;p=thirdparty%2FPython%2Fcpython.git Improve Windows time.clock() blurb; was missing return type and unit. --- diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex index 83d520e20ddc..2e9de609ce83 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}}