summaryrefslogtreecommitdiffstats
path: root/Doc/library/plistlib.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-05-15 10:21:31 (GMT)
committerGitHub <noreply@github.com>2017-05-15 10:21:31 (GMT)
commitedef358ed6d05f927bf1636cc5a920a9d868b131 (patch)
tree287ae68661a797aa09b0aa979f776a5329b7c881 /Doc/library/plistlib.rst
parentd812eb731d886065bdd9bc94a3f0e5dfdcd671a4 (diff)
downloadcpython-edef358ed6d05f927bf1636cc5a920a9d868b131.zip
cpython-edef358ed6d05f927bf1636cc5a920a9d868b131.tar.gz
cpython-edef358ed6d05f927bf1636cc5a920a9d868b131.tar.bz2
bpo-29196: Removed old-deprecated classes Plist, Dict and _InternalDict (#488)
in the plistlib module. Dict values in the result of functions readPlist() and readPlistFromBytes() are now exact dicts.
Diffstat (limited to 'Doc/library/plistlib.rst')
-rw-r--r--Doc/library/plistlib.rst32
1 files changed, 8 insertions, 24 deletions
diff --git a/Doc/library/plistlib.rst b/Doc/library/plistlib.rst
index 9ba2266..7d306a2 100644
--- a/Doc/library/plistlib.rst
+++ b/Doc/library/plistlib.rst
@@ -133,14 +133,12 @@ The following functions are deprecated:
This function calls :func:`load` to do the actual work, see the documentation
of :func:`that function <load>` for an explanation of the keyword arguments.
- .. note::
-
- Dict values in the result have a ``__getattr__`` method that defers
- to ``__getitem_``. This means that you can use attribute access to
- access items of these dictionaries.
-
.. deprecated:: 3.4 Use :func:`load` instead.
+ .. versionchanged:: 3.7
+ Dict values in the result are now normal dicts. You no longer can use
+ attribute access to access items of these dictionaries.
+
.. function:: writePlist(rootObject, pathOrFile)
@@ -156,14 +154,12 @@ The following functions are deprecated:
See :func:`load` for a description of the keyword arguments.
- .. note::
-
- Dict values in the result have a ``__getattr__`` method that defers
- to ``__getitem_``. This means that you can use attribute access to
- access items of these dictionaries.
-
.. deprecated:: 3.4 Use :func:`loads` instead.
+ .. versionchanged:: 3.7
+ Dict values in the result are now normal dicts. You no longer can use
+ attribute access to access items of these dictionaries.
+
.. function:: writePlistToBytes(rootObject)
@@ -174,18 +170,6 @@ The following functions are deprecated:
The following classes are available:
-.. class:: Dict([dict]):
-
- Return an extended mapping object with the same value as dictionary
- *dict*.
-
- This class is a subclass of :class:`dict` where attribute access can
- be used to access items. That is, ``aDict.key`` is the same as
- ``aDict['key']`` for getting, setting and deleting items in the mapping.
-
- .. deprecated:: 3.0
-
-
.. class:: Data(data)
Return a "data" wrapper object around the bytes object *data*. This is used