From 7bdc484c97eb418dcffcdc7a4390e30818d277cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 20 Sep 2003 11:09:28 +0000 Subject: Patch #808362: Fix typos. --- Doc/lib/libtimeit.tex | 2 +- Doc/lib/libunittest.tex | 2 +- Lib/timeit.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/lib/libtimeit.tex b/Doc/lib/libtimeit.tex index f008fee..98c1c83 100644 --- a/Doc/lib/libtimeit.tex +++ b/Doc/lib/libtimeit.tex @@ -122,7 +122,7 @@ The default timer function is platform dependent. On Windows, \function{time.time()}'s granularity is 1/60th of a second; on \UNIX, \function{time.clock()} has 1/100th of a second granularity and \function{time.time()} is much more precise. On either platform, the -default timer functions measures wall clock time, not the CPU time. +default timer functions measure wall clock time, not the CPU time. This means that other processes running on the same computer may interfere with the timing. The best thing to do when accurate timing is necessary is to repeat the timing a few times and use the best diff --git a/Doc/lib/libunittest.tex b/Doc/lib/libunittest.tex index b5976c6..05617c2 100644 --- a/Doc/lib/libunittest.tex +++ b/Doc/lib/libunittest.tex @@ -769,7 +769,7 @@ be of interest when inspecting the results of running a set of tests: The following methods of the \class{TestResult} class are used to -maintain the internal data structures, and mmay be extended in +maintain the internal data structures, and may be extended in subclasses to support additional reporting requirements. This is particularly useful in building tools which support interactive reporting while tests are being run. diff --git a/Lib/timeit.py b/Lib/timeit.py index d7a3a3d..1127aaa 100644 --- a/Lib/timeit.py +++ b/Lib/timeit.py @@ -33,7 +33,7 @@ The difference in default timer function is because on Windows, clock() has microsecond granularity but time()'s granularity is 1/60th of a second; on Unix, clock() has 1/100th of a second granularity and time() is much more precise. On either platform, the default timer -functions measures wall clock time, not the CPU time. This means that +functions measure wall clock time, not the CPU time. This means that other processes running on the same computer may interfere with the timing. The best thing to do when accurate timing is necessary is to repeat the timing a few times and use the best time. The -r option is -- cgit v0.12