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.
This commit is contained in:
Fred Drake 2000-10-25 21:05:29 +00:00
parent 1dba66cb72
commit 53143bec9b
1 changed files with 2 additions and 1 deletions

View File

@ -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}