12 Oct
2016
12 Oct
'16
11:48 p.m.
On Thu, Oct 13, 2016 at 2:35 AM Steven D'Aprano <steve@pearwood.info> wrote:
On Wed, Oct 12, 2016 at 04:11:55PM +0000, אלעזר wrote:
Steve, you only need to allow multiple arguments to append(), then it makes perfect sense.
I think you're missing a step. What will multiple arguments given to append do? There are two obvious possibilities:
- collect all the arguments into a tuple, and append the tuple;
- duplicate the functionality of list.extend
neither of which appeals to me.
The latter, of course. Similar to max(). Not unheard of. Elazar