Changeset 391 for python/trunk/Doc/whatsnew/2.0.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/whatsnew/2.0.rst
r2 r391 657 657 arguments accepted by some methods. Some methods would take multiple arguments 658 658 and treat them as a tuple, particularly various list methods such as 659 :meth:` .append` and :meth:`.insert`. In earlier versions of Python, if ``L`` is659 :meth:`append` and :meth:`insert`. In earlier versions of Python, if ``L`` is 660 660 a list, ``L.append( 1,2 )`` appends the tuple ``(1,2)`` to the list. In Python 661 661 2.0 this causes a :exc:`TypeError` exception to be raised, with the message:
Note:
See TracChangeset
for help on using the changeset viewer.