diff --git a/Doc/library/plistlib.rst b/Doc/library/plistlib.rst index b837a3b6969eef..f67808cf58bd2e 100644 --- a/Doc/library/plistlib.rst +++ b/Doc/library/plistlib.rst @@ -74,8 +74,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 @@ -154,6 +153,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 --------