summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-11-09 16:24:53 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-11-09 16:24:53 (GMT)
commit850be0fb184ee1a5a42df5ecc1b8b62c433b1c6e (patch)
treebe6d145896ea49b4dc6fbb64ef89f9c351d45dea /Doc/whatsnew
parent5e2e70029bdc9c52f9bb49f4cf207eb95c2da410 (diff)
downloadcpython-850be0fb184ee1a5a42df5ecc1b8b62c433b1c6e.zip
cpython-850be0fb184ee1a5a42df5ecc1b8b62c433b1c6e.tar.gz
cpython-850be0fb184ee1a5a42df5ecc1b8b62c433b1c6e.tar.bz2
Improve namedtuple doc string examples
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.5.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index 29d76b1..f3db22f 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -865,7 +865,7 @@ and improves their substitutability for lists.
Docstrings produced by :func:`~collections.namedtuple` can now be updated::
Point = namedtuple('Point', ['x', 'y'])
- Point.__doc__ = 'ordered pair'
+ Point.__doc__ += ': Cartesian coodinate'
Point.x.__doc__ = 'abscissa'
Point.y.__doc__ = 'ordinate'