summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2019-05-13 19:23:07 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-05-13 19:23:07 (GMT)
commitb6a09ae287e253e4146a5a224b75d4dbfd38cb63 (patch)
tree4db503d3a2af040080f2177e0b430a2d04f65047 /Doc/whatsnew
parentb1dfcad6f0d3a52c9ac31fb9763fc7962a84b27c (diff)
downloadcpython-b6a09ae287e253e4146a5a224b75d4dbfd38cb63.zip
cpython-b6a09ae287e253e4146a5a224b75d4dbfd38cb63.tar.gz
cpython-b6a09ae287e253e4146a5a224b75d4dbfd38cb63.tar.bz2
bpo-36895: Undocument removed time.clock (GH-13286)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index ac25305..a2af201 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -788,6 +788,10 @@ The following features and APIs have been removed from Python 3.8:
* The function :func:`platform.popen` has been removed, it was deprecated since
Python 3.3: use :func:`os.popen` instead.
+* The function :func:`time.clock` has been removed, it was deprecated since Python
+ 3.3: use :func:`time.perf_counter` or :func:`time.process_time` instead, depending
+ on your requirements, to have a well defined behavior.
+
* The ``pyvenv`` script has been removed in favor of ``python3.8 -m venv``
to help eliminate confusion as to what Python interpreter the ``pyvenv``
script is tied to. (Contributed by Brett Cannon in :issue:`25427`.)