diff options
author | Georg Brandl <georg@python.org> | 2010-07-23 16:55:26 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-23 16:55:26 (GMT) |
commit | a5eacee237ab8a9be7d326948548c29a97e8a89c (patch) | |
tree | 9935bbcfe6626fd5591b2080ef0830738308b185 /Doc/whatsnew/2.0.rst | |
parent | 6086118ceda2630dbc5eafabfb113fae678fb6a4 (diff) | |
download | cpython-a5eacee237ab8a9be7d326948548c29a97e8a89c.zip cpython-a5eacee237ab8a9be7d326948548c29a97e8a89c.tar.gz cpython-a5eacee237ab8a9be7d326948548c29a97e8a89c.tar.bz2 |
Fix some markup glitches.
Diffstat (limited to 'Doc/whatsnew/2.0.rst')
-rw-r--r-- | Doc/whatsnew/2.0.rst | 2 |
1 files changed, 1 insertions, 1 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 |