document OverflowError exception on mktime()

This commit is contained in:
Guido van Rossum 1996-02-12 23:21:58 +00:00
parent 264302de3e
commit feeadef61e
2 changed files with 4 additions and 2 deletions

View File

@ -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}

View File

@ -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}