multiple parameters to append()?

A.M. Kuchling amk at mira.erols.com
Tue Feb 20 02:43:26 CET 2001


On Tue, 20 Feb 2001 01:28:41 -0000, 
	Lance E Sloan <lsloan at bigfoot.com> wrote:
>deprecated for some time.  How exactly did the old usage
>of append() work?  I don't think I can correct the problem in
>this module unless I know that.

Exactly as you expected:

Python 1.5.2 (#1, Sep 17 1999, 20:15:36)  
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> L=[1,2]
>>> L.append(3,4)
>>> L
[1, 2, (3, 4)]
>>>

Perhaps the module is broken for some other reason; good luck with
your debugging.

--amk



More information about the Python-list mailing list