overloading constructor in python?

Jon Ribbens jon+usenet at unequivocal.co.uk
Mon Apr 3 22:41:51 EDT 2006


In article <1hd8g42.t78sge1tuys90N%aleaxit at yahoo.com>, Alex Martelli wrote:
>> I guess in python we use two idioms to cover most of the uses of
>> mulltiple constructors:
> 
> ... and classmethods.  OK, _three_ idioms.  Oh, and factory functions.
> Among the idioms we use are the following...

Nobody expects the Spanglish inquisition...



More information about the Python-list mailing list