]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] closes bpo-39135: Remove 'time.clock()' mention in docs. (GH-17713)
authorBenjamin Peterson <benjamin@python.org>
Fri, 27 Dec 2019 03:07:21 +0000 (21:07 -0600)
committerGitHub <noreply@github.com>
Fri, 27 Dec 2019 03:07:21 +0000 (21:07 -0600)
`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.
(cherry picked from commit 91874bb07161bb481b6f5ea18ffafe69cb8cac30)

Co-authored-by: Michael Wayne Goodman <goodman.m.w@gmail.com>
Doc/library/time.rst

index e628ac44e806432dd0ce194fc966157995ef85df..6842e9075e1a682fbc014cb0959d4b463d7a3f68 100644 (file)
@@ -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`