summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-05-18 07:05:20 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-05-18 07:05:20 (GMT)
commit163e9821b4644113e5aa4314e3c2e5b1b394e5f7 (patch)
tree877ab459b55549f50933947181f30598cc64edea /Doc
parent4e0172fd9acf7c5e8f30905fc997f904adbe562f (diff)
downloadcpython-163e9821b4644113e5aa4314e3c2e5b1b394e5f7.zip
cpython-163e9821b4644113e5aa4314e3c2e5b1b394e5f7.tar.gz
cpython-163e9821b4644113e5aa4314e3c2e5b1b394e5f7.tar.bz2
Undo the deprecation of _asdict().
Backed out changeset c4ca39bece9d
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 7063768..96c5aef 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -829,9 +829,6 @@ field names, the method and attribute names start with an underscore.
.. versionchanged:: 3.1
Returns an :class:`OrderedDict` instead of a regular :class:`dict`.
- .. deprecated:: 3.4
- Use ``vars(nt)`` or ``nt.__dict__`` instead.
-
.. method:: somenamedtuple._replace(kwargs)
Return a new instance of the named tuple replacing specified fields with new
@@ -848,8 +845,8 @@ field names, the method and attribute names start with an underscore.
A string with the pure Python source code used to create the named
tuple class. The source makes the named tuple self-documenting.
- It can be printed, executed using :func:`exec`, customized, or saved
- to a file and imported.
+ It can be printed, executed using :func:`exec`, or saved to a file
+ and imported.
.. versionadded:: 3.3