mirror of https://github.com/python/cpython
Patch #808362: Fix typos.
This commit is contained in:
parent
8f81c93b8c
commit
7bdc484c97
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue