polymorphism in python

Jay O'Connor joconnor at cybermesa.com
Wed Nov 26 19:11:57 CET 2003

anton muhin wrote:

> Jay O'Connor wrote:
>> martin z wrote:
>> "Function overloading" is still one form of polymorphism.
> I'm not completly agree. Indeed, dispatching on arguments' types can 
> be regarded as polymorphism. However, OP needed to dispatch on 
> *number* of parameters that seems like classic overloading IMHO

I didn't really address the OP phrasing because I'm not really convinced 
that overloading on numbers of parameters is really polymophism either, 
I was mostly just addressing the follow up; just pointing out that 
function overloading, in general, is one way of implementing polymorphism.

More information about the Python-list mailing list