New submission from Michael Wayne Goodman <goodman.m.w@gmail.com>: The documentation for Python 3.8 and higher still refer to 'clock' as an accepted 'name' argument for time.get_clock_info() that returns a namespace readable by time.clock(), despite time.clock() being removed since Python 3.8. See the first bullet point in the function documentation: https://docs.python.org/3.8/library/time.html#time.get_clock_info In Python 3.8, calling time.get_clock_info('clock') raises "ValueError: unknown clock", so it seems the bug is only in the documentation. ---------- assignee: docs@python components: Documentation messages: 358879 nosy: docs@python, goodmami priority: normal severity: normal status: open title: time.get_clock_info() documentation still has 'clock' name versions: Python 3.8, Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39135> _______________________________________