Steven Bethard wrote:
Nick Coghlan wrote:
.keys() is definitely part of the standard dictionary interface, and
not something the mixin can derive from the generic container methods.
Why is that? Isn't keys derivable as:
def keys(self):
return list(self)
if __iter__ is defined?
As you may have guessed, I completely forgot about __iter__. . .
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://boredomandlaziness.skystorm.net
--
http://mail.python.org/mailman/listinfo/python-list