From 53143bec9b422b8758bd7490e9072521ec2f4061 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 25 Oct 2000 21:05:29 +0000 Subject: 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. --- Doc/lib/libexcs.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} -- cgit v0.12