From: Benjamin Peterson Date: Fri, 27 Dec 2019 03:07:21 +0000 (-0600) Subject: [3.8] closes bpo-39135: Remove 'time.clock()' mention in docs. (GH-17713) X-Git-Tag: v3.8.2rc1~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9b92d34646d6a1fca120f98476912f5e4ca7f34;p=thirdparty%2FPython%2Fcpython.git [3.8] closes bpo-39135: Remove 'time.clock()' mention in docs. (GH-17713) `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 --- diff --git a/Doc/library/time.rst b/Doc/library/time.rst index e628ac44e806..6842e9075e1a 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`