[Python-checkins] peps: PEP 418: Add also timeout_clock() alternative name

victor.stinner python-checkins at python.org
Wed Apr 4 03:48:02 CEST 2012


http://hg.python.org/peps/rev/d1bbe228a3af
changeset:   4200:d1bbe228a3af
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Apr 04 03:47:55 2012 +0200
summary:
  PEP 418: Add also timeout_clock() alternative name

files:
  pep-0418.txt |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -737,11 +737,12 @@
 Other names for time.monotonic()
 --------------------------------
 
+* time.counter()
+* time.seconds()
 * time.steady()
+* time.timeout_clock()
 * time.wallclock(): it is not the system time aka the "wall clock", but
   a monotonic clock with an unspecified starting point
-* time.seconds()
-* time.counter()
 
 The name "time.try_monotonic()" was also proposed when time.monotonic() was
 falling back to the system clock when no monotonic clock was available.

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list