diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-08-19 01:38:03 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-08-19 01:38:03 (GMT) |
commit | dbec7d2c166650aa30dc35f373fc337fab35aa28 (patch) | |
tree | b1cc848962a432bbc287835988d1be07f96513c2 /Doc/lib | |
parent | a6b9e3c814d4fed1ef20f82a7eb95f8c805567b2 (diff) | |
download | cpython-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.tex | 8 |
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}} |