Aahz Maruch aahz at
Sat Aug 25 16:49:26 CEST 2001

In article <mailman.998511753.2023.python-list at>,
Matthew D. Wood <woodm at> wrote:
>Are you allowed to overwrite the __init__ method of a class that 
>inherits from UserDict.UserDict ?

Yes, but you should call UserDict.__init__() in your __init__ unless you
really know what you're doing.
                      --- Aahz  <*>  (Copyright 2001 by aahz at

Hugs and backrubs -- I break Rule 6       
Androgynous poly kinky vanilla queer het Pythonista   

"I now regard a fact as a hypothesis that people don't bother to argue
about anymore."  --John Burn, quoted in Lawrence Wright's _Twins_

More information about the Python-list mailing list