[Python-checkins] peps: PEP 418: typo
victor.stinner
python-checkins at python.org
Thu Apr 19 02:48:57 CEST 2012
http://hg.python.org/peps/rev/adc5c6bc9ca2
changeset: 4274:adc5c6bc9ca2
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Apr 19 02:48:56 2012 +0200
summary:
PEP 418: typo
files:
pep-0418.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -39,7 +39,7 @@
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
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list