summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-07-23 20:31:53 (GMT)
committerFred Drake <fdrake@acm.org>1998-07-23 20:31:53 (GMT)
commitc457ca7ede3033f69320ce81c33cacdd2db057f7 (patch)
tree63cd20dfee3eae9fbc380f7ad7134d44f6d290a5 /Doc
parentda00c878bd436c89c488933e013fb1053757e3f9 (diff)
downloadcpython-c457ca7ede3033f69320ce81c33cacdd2db057f7.zip
cpython-c457ca7ede3033f69320ce81c33cacdd2db057f7.tar.gz
cpython-c457ca7ede3033f69320ce81c33cacdd2db057f7.tar.bz2
Fix up Barry's markup, which didn't pass the latex test. ;-)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libexcs.tex15
1 files changed, 7 insertions, 8 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index 8ab6d5d..c639c7e 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -13,9 +13,9 @@ exceptions is present in the standard library module
For backward compatibility, when Python is invoked with the \code{-X}
option, most of the standard exceptions are strings\footnote{For
-forward-compatibility the new exceptions \code{LookupError},
-\code{ArithmeticError}, \code{EnvironmentError}, and
-\code{StandardError} are tuples.}. This option may be used to
+forward-compatibility the new exceptions \exception{LookupError},
+\exception{ArithmeticError}, \exception{EnvironmentError}, and
+\exception{StandardError} are tuples.}. This option may be used to
run code that breaks because of the different semantics of class based
exceptions. The \code{-X} option will become obsolete in future
Python versions, so the recommended solution is to fix the code.
@@ -72,7 +72,7 @@ classes) returns the string value of the argument or arguments, or an
empty string if no arguments were given to the constructor. When used
as a sequence, this accesses the arguments given to the constructor
(handy for backward compatibility with old code). The arguments are
-also available on the instance's \code{args} attribute, as a tuple.
+also available on the instance's \member{args} attribute, as a tuple.
\end{excdesc}
\begin{excdesc}{StandardError}
@@ -153,7 +153,6 @@ symbol is defined in the \file{config.h} file.
\begin{excdesc}{IOError}
% XXXJH xrefs here
-<<<<<<< libexcs.tex
Raised when an I/O operation (such as a \keyword{print} statement, the
built-in \function{open()} function or a method of a file object) fails
for an I/O-related reason, e.g., ``file not found'' or ``disk full''.
@@ -211,9 +210,9 @@ above for more information on exception instance attributes.
\begin{excdesc}{OSError}
%xref for os module
- This class is derived from \begin{EnvironmentError} and is used
- primarily as the by the \code{os} module's \code{os.error}
- exception. See the \begin{EnvironmentError} above for a description
+ This class is derived from \exception{EnvironmentError} and is used
+ primarily as the by the \module{os} module's \code{os.error}
+ exception. See \exception{EnvironmentError} above for a description
of the possible associated values.
\end{excdesc}