From d81d6016bac4eb11f67de5a02412c137af987ffb Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 19 Apr 2012 02:48:56 +0200 Subject: [PATCH] PEP 418: typo --- pep-0418.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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