diff options
author | Alex Willmer <alex@moreati.org.uk> | 2021-03-06 01:22:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-06 01:22:13 (GMT) |
commit | ff5f05934db241dfafc604989b2de3487b09ca82 (patch) | |
tree | a36027e54475b0b7edf7b862258e194c58e05638 /Misc | |
parent | 8e1b40627551909687db8914971b0faf6cf7a079 (diff) | |
download | cpython-ff5f05934db241dfafc604989b2de3487b09ca82.zip cpython-ff5f05934db241dfafc604989b2de3487b09ca82.tar.gz cpython-ff5f05934db241dfafc604989b2de3487b09ca82.tar.bz2 |
bpo-43407: Clarify comparisons of time.monotonic() et al results (GH-24757)
Previous wording implied that only the result of call N and N+1 could be
meaningfully compared, whereas comparing call N and N+M is fine.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2021-03-04-22-53-03.bpo-43407.x570l5.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2021-03-04-22-53-03.bpo-43407.x570l5.rst b/Misc/NEWS.d/next/Documentation/2021-03-04-22-53-03.bpo-43407.x570l5.rst new file mode 100644 index 0000000..615e3d0 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2021-03-04-22-53-03.bpo-43407.x570l5.rst @@ -0,0 +1,4 @@ +Clarified that a result from :func:`time.monotonic`, +:func:`time.perf_counter`, :func:`time.process_time`, or +:func:`time.thread_time` can be compared with the result from any following +call to the same function - not just the next immediate call. |