summaryrefslogtreecommitdiffstats
path: root/Doc/libtime.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-02-12 23:21:58 (GMT)
committerGuido van Rossum <guido@python.org>1996-02-12 23:21:58 (GMT)
commitfeeadef61e9b88af0a7ea55a2e8851f0dc5365c0 (patch)
treebedff0862c018e15a5ca8f0ee6a9e4a7e59bd2e4 /Doc/libtime.tex
parent264302de3e9c9b68aac41d9268562911434a78b4 (diff)
downloadcpython-feeadef61e9b88af0a7ea55a2e8851f0dc5365c0.zip
cpython-feeadef61e9b88af0a7ea55a2e8851f0dc5365c0.tar.gz
cpython-feeadef61e9b88af0a7ea55a2e8851f0dc5365c0.tar.bz2
document OverflowError exception on mktime()
Diffstat (limited to 'Doc/libtime.tex')
-rw-r--r--Doc/libtime.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/libtime.tex b/Doc/libtime.tex
index 56488d1..f91a492 100644
--- a/Doc/libtime.tex
+++ b/Doc/libtime.tex
@@ -86,7 +86,8 @@ 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.
+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.
\end{funcdesc}
\begin{funcdesc}{sleep}{secs}