[Python-ideas] clear() method for lists

Nick Coghlan ncoghlan at gmail.com
Thu Feb 11 12:57:13 CET 2010

Greg Ewing wrote:
> Mathias Panzenböck wrote:
>> On 02/10/2010 11:39 AM, wxyarv wrote:
>>> what about another method clone() (or copy())?
> Last time copying lists was discussed, I seem to remember
> there were considered to be too many ways of doing it
> already, so I can't see another one being added.

With the obvious way of getting a consistent interface already being to
use copy.copy.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list