Add a comment on time.time() returning non-decreasing values except when

the clock is set back.

This closes SF bug #447945.
This commit is contained in:
Fred Drake 2001-08-05 15:43:04 +00:00
parent 223ec936f1
commit 58212724f2

View file

@ -287,7 +287,9 @@ Availability: Most modern \UNIX{} systems.
Return the time as a floating point number expressed in seconds since 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 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 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} \end{funcdesc}
\begin{datadesc}{timezone} \begin{datadesc}{timezone}