list as a base class in Python 2.1

bdecker at flowcom.com.au bdecker at flowcom.com.au
Mon May 3 22:54:07 EDT 2004


Hello,


With python2.2 I am able to define a class based on the 'list' type as
follows:

class sample(list):
 ...

But this doesn't work under python 2.1. Is there still a way to simply
use the list type as a base class under python 2.1?



Ben



More information about the Python-list mailing list