Subclassing builtin types

Alex Martelli aleaxit at
Sun Mar 4 18:56:45 CET 2001

"Daniel Klein" <danielk at> wrote in message
news:i6u4atslg4euv732pvaujk6u036kemcidf at
> One of the classes I have to write  is merely a wrapper around a 'list'

That's what UserList is for -- a class that wraps the list builtin object,
so you can inherit and override whatever you need.


More information about the Python-list mailing list