In article <[EMAIL PROTECTED]>, Michele Simionato <[EMAIL PROTECTED]> wrote: > >I am surprised nobody suggested we put those two methods into a >separate module (say dictutils or even UserDict) as functions: > >from dictutils import tally, listappend > >tally(mydict, key) >listappend(mydict, key, value)
That seems like a reasonable compromise. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams of trivial code that bores the reader to death." --GvR -- http://mail.python.org/mailman/listinfo/python-list