mirror of
https://github.com/python/cpython.git
synced 2025-08-19 08:11:46 +00:00
[3.13] Docs: document plistlib.InvalidFileException
(GH-132069) (#132116)
Docs: document `plistlib.InvalidFileException` (GH-132069)
(cherry picked from commit 99e9798d61
)
Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
This commit is contained in:
parent
240c200cce
commit
65181de34c
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