From: Martin v. Löwis Date: Sat, 20 Sep 2003 11:09:06 +0000 (+0000) Subject: Patch #808362: Fix typos. X-Git-Tag: v2.3.1~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2857ef50badd4c49df5a3ecb05027703f697d176;p=thirdparty%2FPython%2Fcpython.git Patch #808362: Fix typos. --- diff --git a/Doc/lib/libtimeit.tex b/Doc/lib/libtimeit.tex index f008fee31da2..98c1c833ac6f 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 b5976c61b909..05617c2aa47b 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 d7a3a3d545ee..1127aaae4053 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