diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2012-02-07 22:29:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2012-02-07 22:29:46 (GMT) |
commit | 8b30201f7d3028628aba1b4bec203a7b507de73b (patch) | |
tree | d28e1a3a7c771de2bc700e012272b9dfbe2f1417 /Doc | |
parent | d1cd99b533a32e063fc4602c439da334d5a10331 (diff) | |
download | cpython-8b30201f7d3028628aba1b4bec203a7b507de73b.zip cpython-8b30201f7d3028628aba1b4bec203a7b507de73b.tar.gz cpython-8b30201f7d3028628aba1b4bec203a7b507de73b.tar.bz2 |
Issue #13846: Add time.monotonic(), monotonic clock.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/time.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 0415a16..7865b5a 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -226,6 +226,14 @@ The module defines the following functions and data items: The earliest date for which it can generate a time is platform-dependent. +.. function:: monotonic() + + Monotonic clock. The reference point of the returned value is undefined so + only the difference of consecutive calls is valid. + + .. versionadded: 3.3 + + .. function:: sleep(secs) Suspend execution for the given number of seconds. The argument may be a |