list as a base class in Python 2.1
bdecker at flowcom.com.au
bdecker at flowcom.com.au
Tue May 4 00:44:12 EDT 2004
Nevermind, I founf the UserList module.
* bdecker at flowcom.com.au <bdecker at flowcom.com.au> [2004-05-04 02:54:07 +0000]:
> 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