[ python-Bugs-1119700 ] list extend() accepts args besides lists
SourceForge.net
noreply at sourceforge.net
Thu Feb 10 00:05:31 CET 2005
Bugs item #1119700, was opened at 2005-02-09 15:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1119700&group_id=5470
Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Dan Everhart (dieseldann)
Assigned to: Nobody/Anonymous (nobody)
Summary: list extend() accepts args besides lists
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1119700&group_id=5470
More information about the Python-bugs-list
mailing list