summaryrefslogtreecommitdiffstats
path: root/Doc/libtime.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-06-26 19:25:12 (GMT)
committerGuido van Rossum <guido@python.org>1996-06-26 19:25:12 (GMT)
commit036eae664788df268ab8b95b522f3a95878624b1 (patch)
tree30afbdc98b79d5a2f027cef6c3083effb2244cd2 /Doc/libtime.tex
parent6076ea51e2a04eaba105440cb12f25e0cb770f24 (diff)
downloadcpython-036eae664788df268ab8b95b522f3a95878624b1.zip
cpython-036eae664788df268ab8b95b522f3a95878624b1.tar.gz
cpython-036eae664788df268ab8b95b522f3a95878624b1.tar.bz2
mktime returns a float now.
Diffstat (limited to 'Doc/libtime.tex')
-rw-r--r--Doc/libtime.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/libtime.tex b/Doc/libtime.tex
index f91a492..e934408 100644
--- a/Doc/libtime.tex
+++ b/Doc/libtime.tex
@@ -86,8 +86,9 @@ to 1 when DST applies to the given time.
\begin{funcdesc}{mktime}{tuple}
This is the inverse function of \code{localtime}. Its argument is the
-full 9-tuple (since the dst flag is needed). It returns an integer. If the
-input value can't be represented as a non-negative integer, OverflowError is raised.
+full 9-tuple (since the dst flag is needed). It returns a floating
+point number, for compatibility with \code{time.time()}. If the input
+value can't be represented as a valid time, OverflowError is raised.
\end{funcdesc}
\begin{funcdesc}{sleep}{secs}