[ python-Bugs-1119700 ] list extend() accepts args besides lists
SourceForge.net
noreply at sourceforge.net
Thu Feb 10 00:20:39 CET 2005
Bugs item #1119700, was opened at 2005-02-09 18:05
Message generated for change (Comment added) made by rhettinger
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: Closed
>Resolution: Fixed
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.
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-02-09 18:20
Message:
Logged In: YES
user_id=80475
Fixed.
Thanks.
----------------------------------------------------------------------
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