[Zope] removing items from lists ?

Dieter Maurer dieter@handshake.de
Tue, 19 Jun 2001 20:16:15 +0200 (CEST)


List objects have two methods for this:

     remove -- it takes an object and removes the first object matching
               this object from the list.
	       Throws an exception, when no such object is found

     pop --    it takes an (integer) index, removes the object
               corresponding to this index from the list
	       and returns it.

Dieter