This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: list extend() accepts args besides lists
Type: Stage:
Components: Documentation Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: dieseldann, rhettinger
Priority: normal Keywords:

Created on 2005-02-09 23:05 by dieseldann, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg24233 - (view) Author: Dan Everhart (dieseldann) Date: 2005-02-09 23:05
In section 2.3.6.4 of the PYthon Library Reference,
Note (3) says that extend() raises and exception when
its argument is not a list object.  Extend does accept
a tuple without complaint, and does the expected thing.
 The note should correctly specify what is acceptable
as an argument.
msg24234 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-02-09 23:20
Logged In: YES 
user_id=80475

Fixed.
Thanks.
History
Date User Action Args
2022-04-11 14:56:09adminsetgithub: 41558
2005-02-09 23:05:27dieseldanncreate