diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-09-20 11:09:28 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-09-20 11:09:28 (GMT) |
commit | 7bdc484c97eb418dcffcdc7a4390e30818d277cb (patch) | |
tree | cc19e790a6c12c8976e6ab18c13d18cdd6681ffd | |
parent | 8f81c93b8c1b5aecf94a89c22d9f74eeb228a277 (diff) | |
download | cpython-7bdc484c97eb418dcffcdc7a4390e30818d277cb.zip cpython-7bdc484c97eb418dcffcdc7a4390e30818d277cb.tar.gz cpython-7bdc484c97eb418dcffcdc7a4390e30818d277cb.tar.bz2 |
Patch #808362: Fix typos.
-rw-r--r-- | Doc/lib/libtimeit.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libunittest.tex | 2 | ||||
-rw-r--r-- | 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 |