Kaydet (Commit) 53143bec authored tarafından Fred Drake's avatar Fred Drake

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.
üst 1dba66cb
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment