Add more example exceptions that unpickling can raise.

This commit is contained in:
Neil Schemenauer 2002-03-22 22:16:03 +00:00
parent 94b866a030
commit 79f181395b

View file

@ -197,7 +197,8 @@ the \method{dump()} method.
This exception is raised when there is a problem unpickling an object,
such as a security violation. Note that other exceptions may also be
raised during unpickling, including (but not necessarily limited to)
\exception{AttributeError} and \exception{ImportError}.
\exception{AttributeError}, \exception{EOFError},
\exception{ImportError}, and \exception{IndexError}.
\end{excdesc}
The \module{pickle} module also exports two callables\footnote{In the