Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions Doc/library/plistlib.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:mod:`plistlib` --- Generate and parse Mac OS X ``.plist`` files
================================================================
:mod:`plistlib` --- Generate and parse Apple ``.plist`` files
=============================================================

.. module:: plistlib
:synopsis: Generate and parse Mac OS X plist files.
:synopsis: Generate and parse Apple plist files.

.. moduleauthor:: Jack Jansen
.. sectionauthor:: Georg Brandl <[email protected]>
Expand All @@ -17,7 +17,8 @@
--------------

This module provides an interface for reading and writing the "property list"
files used mainly by Mac OS X and supports both binary and XML plist files.
files used by Apple, primarily on macOS and iOS. This module supports both binary
and XML plist files.

The property list (``.plist``) file format is a simple serialization supporting
basic object types, like dictionaries, lists, numbers and strings. Usually the
Expand Down Expand Up @@ -124,6 +125,19 @@ This module defines the following functions:
.. versionadded:: 3.4


The following classes are available:

.. class:: UID(data)

Wraps an :class:`int`. This is used when reading or writing NSKeyedArchiver
encoded data, which contains UID (see PList manual).

It has one attribute, :attr:`data`, which can be used to retrieve the int value
of the UID. :attr:`data` must be in the range `0 <= data <= 2**64`.

.. versionadded:: 3.8


The following constants are available:

.. data:: FMT_XML
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Modernized the plistlib documentation