diff --git a/pep-0418.txt b/pep-0418.txt index 90c36cb55..febee35b0 100644 --- a/pep-0418.txt +++ b/pep-0418.txt @@ -39,7 +39,7 @@ portable behaviour (ex: include time spend during sleep). To measure CPU time, Python does not provide directly a portable function. ``time.clock()`` can be used on Unix, but it has a bad precision. ``resource.getrusage()`` or ``os.times()`` can also be -used on Unix, but they requires to compute the sum of time +used on Unix, but they require to compute the sum of time spent in kernel space and user space. The new ``time.process_time()`` function acts as a portable counter that always measures CPU time (doesn't include time elapsed during sleep) and has the best available