A couple questions about classes and inheritance
Terry Reedy
tjreedy at udel.edu
Sun May 16 20:58:04 EDT 2010
On 5/16/2010 6:58 PM, Paul LaFollette wrote:
> Anyway, again can you point me to somewhere that I can learn more? In
> particular, is there a list somewhere of the builtin types that are
> not subclassable?
I believe that in 3.1, the builtin classes with builtin names can be
subclassed and and those without cannot. (If you find any exceptionss,
please post ;-). The ones with names are exactly the ones you are
expected to directly interact with in normal code.
Terry Jan Reedy
More information about the Python-list
mailing list