diff options
author | Fred Drake <fdrake@acm.org> | 2000-04-17 17:42:00 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-04-17 17:42:00 (GMT) |
commit | cebda6f5f0b87a4b7b347e3aab33aaffba09a1ad (patch) | |
tree | faf657d0075572da222e4f9c7979c0fbc57140e7 /Doc | |
parent | e99d1dbc7465d983a2ae99eb0f439ba830f45ff8 (diff) | |
download | cpython-cebda6f5f0b87a4b7b347e3aab33aaffba09a1ad.zip cpython-cebda6f5f0b87a4b7b347e3aab33aaffba09a1ad.tar.gz cpython-cebda6f5f0b87a4b7b347e3aab33aaffba09a1ad.tar.bz2 |
Added documentation for WindowsError; omission noted by Michal Bozon
<bozon@natur.cuni.cz>.
(Mark Hammond, other Python/Windows cognoscenti: please check this!)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libexcs.tex | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index fd1d21a..4d5ab85 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -314,6 +314,16 @@ For class exceptions, \function{str()} returns only the message. \exception{IndexError}. \end{excdesc} +\begin{excdesc}{WindowsError} + Raised when a Windows-specific error occurs or when the error number + does not correspond to an \cdata{errno} value. The + \member{errno} and \member{strerror} values are created from the + return values of the \cfunction{GetLastError()} and + \cfunction{FormatMessage()} functions from the Windows Platform API. + This is a subclass of \exception{OSError}. +\versionadded{1.6} +\end{excdesc} + \begin{excdesc}{ZeroDivisionError} Raised when the second argument of a division or modulo operation is zero. The associated value is a string indicating the type of the |