Kaydet (Commit) feeadef6 authored tarafından Guido van Rossum's avatar Guido van Rossum

document OverflowError exception on mktime()

üst 264302de
......@@ -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}
......
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment