Skip to content

Commit 79f1813

Browse files
committed
Add more example exceptions that unpickling can raise.
1 parent 94b866a commit 79f1813

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/lib/libpickle.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ \subsection{Usage}
197197
This exception is raised when there is a problem unpickling an object,
198198
such as a security violation. Note that other exceptions may also be
199199
raised during unpickling, including (but not necessarily limited to)
200-
\exception{AttributeError} and \exception{ImportError}.
200+
\exception{AttributeError}, \exception{EOFError},
201+
\exception{ImportError}, and \exception{IndexError}.
201202
\end{excdesc}
202203

203204
The \module{pickle} module also exports two callables\footnote{In the

0 commit comments

Comments
 (0)