UserList from module collections

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Sep 10 04:12:13 EDT 2019


ast wrote:

> So what UserList is used for ?

It's mostly a leftover from the days when you couldn't subclass
built-in types. But it can still be useful if you want a custom
sequence object that doesn't inherit all of the built-in list
type's behaviour.

-- 
Greg



More information about the Python-list mailing list