mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Add more example exceptions that unpickling can raise.
This commit is contained in:
parent
94b866a030
commit
79f181395b
1 changed files with 2 additions and 1 deletions
|
|
@ -197,7 +197,8 @@ the \method{dump()} method.
|
||||||
This exception is raised when there is a problem unpickling an object,
|
This exception is raised when there is a problem unpickling an object,
|
||||||
such as a security violation. Note that other exceptions may also be
|
such as a security violation. Note that other exceptions may also be
|
||||||
raised during unpickling, including (but not necessarily limited to)
|
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}
|
\end{excdesc}
|
||||||
|
|
||||||
The \module{pickle} module also exports two callables\footnote{In the
|
The \module{pickle} module also exports two callables\footnote{In the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue