summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-22 22:16:03 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-22 22:16:03 (GMT)
commit79f181395b8d63c0198a604bdf27e9621ee09e07 (patch)
tree371953b7bede939d4c8e768c22a3d25b4d5d057f /Doc
parent94b866a03088da6257823c74a71b4d0760c60bbb (diff)
downloadcpython-79f181395b8d63c0198a604bdf27e9621ee09e07.zip
cpython-79f181395b8d63c0198a604bdf27e9621ee09e07.tar.gz
cpython-79f181395b8d63c0198a604bdf27e9621ee09e07.tar.bz2
Add more example exceptions that unpickling can raise.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libpickle.tex3
1 files changed, 2 insertions, 1 deletions
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