Docs: document plistlib.InvalidFileException (#132069)

This commit is contained in:
Yuki Kobayashi 2025-04-05 17:46:17 +09:00 committed by GitHub
parent 05557788f3
commit 99e9798d61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
--------