[Benjamin Peterson]
> Why not just inherit from collections.MutableMapping?

It makes the recipe shorter to inherit some methods from dict.  Also,
subclassing from dict gives a speedup for __getitem__(), __len__(),
and get().
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to