subclassing list

Uwe Mayer merkosh at
Thu Dec 23 14:59:27 CET 2004


I want to subclass "list". The documentation states to prefer subclassing
list instead of UserList. How to you clear the contents of a list subclass
without creating a new object?

Thanks in advance

More information about the Python-list mailing list