]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
closes bpo-39135: Remove 'time.clock()' mention in docs. (GH17709)
authorMichael Wayne Goodman <goodman.m.w@gmail.com>
Fri, 27 Dec 2019 03:01:08 +0000 (11:01 +0800)
committerBenjamin Peterson <benjamin@python.org>
Fri, 27 Dec 2019 03:01:08 +0000 (21:01 -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.

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`