diff options
author | Fred Drake <fdrake@acm.org> | 2001-08-05 15:43:04 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-08-05 15:43:04 (GMT) |
commit | 58212724f2ab5ea83ec646ee620c0f74207b24c8 (patch) | |
tree | a564ab35e31697931299d443eb192afcf6c2a05c /Doc/lib/libtime.tex | |
parent | 223ec936f14a36011d58dec1772260bac08b28a4 (diff) | |
download | cpython-58212724f2ab5ea83ec646ee620c0f74207b24c8.zip cpython-58212724f2ab5ea83ec646ee620c0f74207b24c8.tar.gz cpython-58212724f2ab5ea83ec646ee620c0f74207b24c8.tar.bz2 |
Add a comment on time.time() returning non-decreasing values except when
the clock is set back.
This closes SF bug #447945.
Diffstat (limited to 'Doc/lib/libtime.tex')
-rw-r--r-- | Doc/lib/libtime.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex index 6823d5f..83d520e 100644 --- a/Doc/lib/libtime.tex +++ b/Doc/lib/libtime.tex @@ -287,7 +287,9 @@ Availability: Most modern \UNIX{} systems. Return the time as a floating point number expressed in seconds since the epoch, in UTC. Note that even though the time is always returned as a floating point number, not all systems provide time with a better -precision than 1 second. +precision than 1 second. While this function normally returns +non-decreasing values, it can return a lower value than a previous +call if the system clock has been set back between the two calls. \end{funcdesc} \begin{datadesc}{timezone} |