diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-25 21:05:29 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-25 21:05:29 (GMT) |
commit | 53143bec9b422b8758bd7490e9072521ec2f4061 (patch) | |
tree | 703cdaf6661235bd3541e9427ed9221787448388 | |
parent | 1dba66cb72b99b8a774c43b09922b2e9c86d91c3 (diff) | |
download | cpython-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.tex | 3 |
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} |