]> granicus.if.org Git - python/commitdiff
Add more example exceptions that unpickling can raise.
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 22 Mar 2002 22:16:03 +0000 (22:16 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 22 Mar 2002 22:16:03 +0000 (22:16 +0000)
Doc/lib/libpickle.tex

index fc132651a97eb5943a6569ba970664b24a925198..dc6edffe8dc9d604c142a42d3112075fd227f875 100644 (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