UserDict

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


In article <mailman.998511753.2023.python-list at python.org>,
Matthew D. Wood <woodm at equire.com> 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 pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
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