mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Docs: document plistlib.InvalidFileException
(#132069)
This commit is contained in:
parent
05557788f3
commit
99e9798d61
1 changed files with 10 additions and 2 deletions
|
@ -78,8 +78,7 @@ This module defines the following functions:
|
|||
exceptions on ill-formed XML. Unknown elements will simply be ignored
|
||||
by the plist parser.
|
||||
|
||||
The parser for the binary format raises :exc:`InvalidFileException`
|
||||
when the file cannot be parsed.
|
||||
The parser raises :exc:`InvalidFileException` when the file cannot be parsed.
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
|
@ -170,6 +169,15 @@ The following constants are available:
|
|||
.. versionadded:: 3.4
|
||||
|
||||
|
||||
The module defines the following exceptions:
|
||||
|
||||
.. exception:: InvalidFileException
|
||||
|
||||
Raised when a file cannot be parsed.
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue