[Python-checkins] closes bpo-39135: Remove 'time.clock()' mention in docs. (GH17709)
Benjamin Peterson
webhook-mailer at python.org
Thu Dec 26 22:01:16 EST 2019
https://github.com/python/cpython/commit/91874bb07161bb481b6f5ea18ffafe69cb8cac30
commit: 91874bb07161bb481b6f5ea18ffafe69cb8cac30
branch: master
author: Michael Wayne Goodman <goodman.m.w at gmail.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2019年12月26日T21:01:08-06:00
summary:
closes bpo-39135: Remove 'time.clock()' mention in docs. (GH17709)
`time.clock()` was removed in Python 3.8, but it was still mentioned
in the documentation for when `time.get_clock_info()` is given the
argument `'clock'`. This commit removes that mention.
files:
M Doc/library/time.rst
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index e628ac44e8064..6842e9075e1a6 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -218,7 +218,6 @@ Functions
Supported clock names and the corresponding functions to read their value
are:
- * ``'clock'``: :func:`time.clock`
* ``'monotonic'``: :func:`time.monotonic`
* ``'perf_counter'``: :func:`time.perf_counter`
* ``'process_time'``: :func:`time.process_time`
More information about the Python-checkins
mailing list