https://github.com/python/cpython/commit/65181de34cb25954badc8447a271c2d34303f79c commit: 65181de34cb25954badc8447a271c2d34303f79c branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: picnixz <10796600+picn...@users.noreply.github.com> date: 2025-04-05T10:53:13+02:00 summary:
[3.13] Docs: document `plistlib.InvalidFileException` (GH-132069) (#132116) Docs: document `plistlib.InvalidFileException` (GH-132069) (cherry picked from commit 99e9798d612222785db427eb295c847147fe5e78) Co-authored-by: Yuki Kobayashi <drsuaimqj...@gmail.com> files: M Doc/library/plistlib.rst diff --git a/Doc/library/plistlib.rst b/Doc/library/plistlib.rst index ad96be755b8158..c3a133e46a64d6 100644 --- a/Doc/library/plistlib.rst +++ b/Doc/library/plistlib.rst @@ -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 -------- _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com