[New-bugs-announce] [issue39135] time.get_clock_info() documentation still has 'clock' name

Michael Wayne Goodman report at bugs.python.org
Thu Dec 26 02:12:12 EST 2019


New submission from Michael Wayne Goodman <goodman.m.w at 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 at python
components: Documentation
messages: 358879
nosy: docs at 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 at bugs.python.org>
<https://bugs.python.org/issue39135>
_______________________________________


More information about the New-bugs-announce mailing list