From 79f181395b8d63c0198a604bdf27e9621ee09e07 Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Fri, 22 Mar 2002 22:16:03 +0000 Subject: Add more example exceptions that unpickling can raise. --- Doc/lib/libpickle.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/lib/libpickle.tex b/Doc/lib/libpickle.tex index fc13265..dc6edff 100644 --- a/Doc/lib/libpickle.tex +++ b/Doc/lib/libpickle.tex @@ -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 -- cgit v0.12