When to derive from object?

greg greg at cosc.canterbury.ac.nz
Tue Oct 13 20:18:38 EDT 2009


Terry Reedy wrote:

> Every function with default arguments can be called two or more ways.
> Every function that returns None can be written two or more ways.

And in general, anything of any sort with any kind of
default can be written in two ways. Somehow I doubt that
the ZoP was intended to discourage providing defaults!

-- 
Greg



More information about the Python-list mailing list