summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2012-01-18 00:50:21 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2012-01-18 00:50:21 (GMT)
commitb94b266cfc94491eef206c082ff210d147016cbc (patch)
tree93e1d696fd477d16d4360a14718d4676345710d0 /Doc/whatsnew
parent25d1bdc4074a93f268e40be1a8e49f003c3cbe57 (diff)
downloadcpython-b94b266cfc94491eef206c082ff210d147016cbc.zip
cpython-b94b266cfc94491eef206c082ff210d147016cbc.tar.gz
cpython-b94b266cfc94491eef206c082ff210d147016cbc.tar.bz2
Close #10278: Add time.wallclock() function, monotonic clock.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.3.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index a60e585..5bffd1e 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -396,12 +396,14 @@ New module: :mod:`faulthandler`.
time
----
-* The :mod:`time` module has new :func:`~time.clock_getres` and
- :func:`~time.clock_gettime` functions and ``CLOCK_xxx`` constants.
- :func:`~time.clock_gettime` can be used with :data:`time.CLOCK_MONOTONIC` to
- get a monotonic clock.
+The :mod:`time` module has new functions:
- (Contributed by Victor Stinner in :issue:`10278`)
+* :func:`~time.clock_getres` and :func:`~time.clock_gettime` functions and
+ ``CLOCK_xxx`` constants. :func:`~time.clock_gettime` can be used with
+ :data:`time.CLOCK_MONOTONIC` to get a monotonic clock.
+* :func:`~time.wallclock`: monotonic clock.
+
+(Contributed by Victor Stinner in :issue:`10278`)
ftplib