diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-03-14 23:58:32 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-03-14 23:58:32 (GMT) |
commit | ec919cc74d48cac88ff15ee31084f2eab9add417 (patch) | |
tree | 16cc80d15a0512b02fad229781b901823987e924 /Doc/whatsnew | |
parent | 5e5451940c0e5b820569e842b7cd2cc73add7db3 (diff) | |
download | cpython-ec919cc74d48cac88ff15ee31084f2eab9add417.zip cpython-ec919cc74d48cac88ff15ee31084f2eab9add417.tar.gz cpython-ec919cc74d48cac88ff15ee31084f2eab9add417.tar.bz2 |
Issue #10278: Drop time.monotonic() function, rename time.wallclock() to time.steady()
* On Mac OS X, time.steady() now uses mach_absolute_time(), a monotonic clock
* Optimistic change: bet that CLOCK_MONOTONIC and CLOCK_REALTIME are available
when clock_gettime() is available
* Rewrite time.steady() documentation
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 84fdac1..ae7b3af 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -943,8 +943,7 @@ The :mod:`time` module has new functions: * :func:`~time.clock_getres` and :func:`~time.clock_gettime` functions and ``CLOCK_xxx`` constants. -* :func:`~time.monotonic`: monotonic clock. -* :func:`~time.wallclock`. +* :func:`~time.steady`. (Contributed by Victor Stinner in :issue:`10278`) |