summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-01 21:25:46 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-01 21:25:46 (GMT)
commit8b256caf2d56db5afadc7a82c7b4440b9c1911cf (patch)
tree774de6e1db404ec0c160706e1a0f0361578d2b69 /Doc/whatsnew
parenteb0c8edc87e862a87bf90288259451d01be9f8f0 (diff)
downloadcpython-8b256caf2d56db5afadc7a82c7b4440b9c1911cf.zip
cpython-8b256caf2d56db5afadc7a82c7b4440b9c1911cf.tar.gz
cpython-8b256caf2d56db5afadc7a82c7b4440b9c1911cf.tar.bz2
Merged revisions 83106 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ........ r83106 | georg.brandl | 2010-07-23 18:55:26 +0200 (Fr, 23 Jul 2010) | 1 line Fix some markup glitches. ........
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.0.rst2
-rw-r--r--Doc/whatsnew/2.5.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/2.0.rst b/Doc/whatsnew/2.0.rst
index 5fd53d1..3bb12b6 100644
--- a/Doc/whatsnew/2.0.rst
+++ b/Doc/whatsnew/2.0.rst
@@ -656,7 +656,7 @@ break.
The change which will probably break the most code is tightening up the
arguments accepted by some methods. Some methods would take multiple arguments
and treat them as a tuple, particularly various list methods such as
-:meth:`.append` and :meth:`.insert`. In earlier versions of Python, if ``L`` is
+:meth:`append` and :meth:`insert`. In earlier versions of Python, if ``L`` is
a list, ``L.append( 1,2 )`` appends the tuple ``(1,2)`` to the list. In Python
2.0 this causes a :exc:`TypeError` exception to be raised, with the message:
'append requires exactly 1 argument; 2 given'. The fix is to simply add an
diff --git a/Doc/whatsnew/2.5.rst b/Doc/whatsnew/2.5.rst
index ca87dbb..c7f7d58 100644
--- a/Doc/whatsnew/2.5.rst
+++ b/Doc/whatsnew/2.5.rst
@@ -1765,7 +1765,7 @@ Full documentation for ElementTree is available at
http://effbot.org/zone/element-index.htm.
ElementTree represents an XML document as a tree of element nodes. The text
-content of the document is stored as the :attr:`.text` and :attr:`.tail`
+content of the document is stored as the :attr:`text` and :attr:`tail`
attributes of (This is one of the major differences between ElementTree and
the Document Object Model; in the DOM there are many different types of node,
including :class:`TextNode`.)