diff --git a/Doc/lib/libtimeit.tex b/Doc/lib/libtimeit.tex index f008fee31da..98c1c833ac6 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 b5976c61b90..05617c2aa47 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 d7a3a3d545e..1127aaae405 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