sorteddict [was a PEP proposal, but isn't anymore!]

Terry Reedy tjreedy at udel.edu
Tue Oct 2 10:41:11 EDT 2007


"Duncan Booth" <duncan.booth at invalid.invalid> wrote in message 
news:Xns99BC8BF9F1899duncanbooth at 127.0.0.1...
| Subclassing doesn't have to imply a common implementation, just a common
| interface.

True, but in Python, subclassing is usually done to reuse implementation. 
Interface subclassing is usually from a common abstract base class (which 
will be better supported in Py3).. 






More information about the Python-list mailing list