summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-25 21:05:29 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-25 21:05:29 (GMT)
commit53143bec9b422b8758bd7490e9072521ec2f4061 (patch)
tree703cdaf6661235bd3541e9427ed9221787448388
parent1dba66cb72b99b8a774c43b09922b2e9c86d91c3 (diff)
downloadcpython-53143bec9b422b8758bd7490e9072521ec2f4061.zip
cpython-53143bec9b422b8758bd7490e9072521ec2f4061.tar.gz
cpython-53143bec9b422b8758bd7490e9072521ec2f4061.tar.bz2
Since LookupError can be raised by sys.setdefaultencoding(), we should not
document it as only being a base class, not matter how unlikely this is to affect normal users.
-rw-r--r--Doc/lib/libexcs.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index 40cc6fd..0324a8a 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -80,7 +80,8 @@ various arithmetic errors: \exception{OverflowError},
\begin{excdesc}{LookupError}
The base class for the exceptions that are raised when a key or
index used on a mapping or sequence is invalid: \exception{IndexError},
-\exception{KeyError}.
+\exception{KeyError}. This can be raised directly by
+\function{sys.setdefaultencoding()}.
\end{excdesc}
\begin{excdesc}{EnvironmentError}