diff options
author | Fred Drake <fdrake@acm.org> | 1999-02-02 18:00:40 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-02-02 18:00:40 (GMT) |
commit | d0bceeeb594d8dc955dce27f8f8f867187d6e75c (patch) | |
tree | 179002aab19d3005d1c97597967bd40c6b52959d /Doc | |
parent | 09da65ef2fa02ca60b809a52d2dc2bbd05f41449 (diff) | |
download | cpython-d0bceeeb594d8dc955dce27f8f8f867187d6e75c.zip cpython-d0bceeeb594d8dc955dce27f8f8f867187d6e75c.tar.gz cpython-d0bceeeb594d8dc955dce27f8f8f867187d6e75c.tar.bz2 |
Move \versionadded macros to end of descriptions.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libexcs.tex | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index 80ca9b9..8c15a95 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -94,7 +94,6 @@ index used on a mapping or sequence is invalid: \exception{IndexError}, \end{excdesc} \begin{excdesc}{EnvironmentError} -\versionadded{1.5.2} The base class for exceptions that can occur outside the Python system: \exception{IOError}, \exception{OSError}. When exceptions of this type are created with a @@ -103,6 +102,7 @@ attribute (it is assumed to be an error number), and the second item is available on the \member{strerror} attribute (it is usually the associated error message). The tuple itself is also available on the \member{args} attribute. +\versionadded{1.5.2} When an \exception{EnvironmentError} exception is instantiated with a 3-tuple, the first two items are available as above, while the third @@ -154,7 +154,6 @@ Raised when an \keyword{assert} statement fails. \end{excdesc} \begin{excdesc}{IOError} - \versionchanged{1.5.2} % XXXJH xrefs here Raised when an I/O operation (such as a \keyword{print} statement, the built-in \function{open()} function or a method of a file @@ -214,19 +213,19 @@ Raised when an \keyword{assert} statement fails. \end{excdesc} \begin{excdesc}{NotImplementedError} - \versionadded{1.5.2} This exception is derived from \exception{RuntimeError}. In user defined base classes, abstract methods should raise this exception when they require derived classes to override the method. + \versionadded{1.5.2} \end{excdesc} \begin{excdesc}{OSError} - \versionadded{1.5.2} %xref for os module This class is derived from \exception{EnvironmentError} and is used primarily as the \module{os} module's \code{os.error} exception. See \exception{EnvironmentError} above for a description of the possible associated values. + \versionadded{1.5.2} \end{excdesc} \begin{excdesc}{OverflowError} |