Overloading methods in C API

Grant Edwards grante at visi.com
Sun Jan 19 00:54:13 CET 2003


In article <b0cdjh$nsnhe$1 at ID-71831.news.dfncis.de>, James Kew wrote:

>> For whatever historical reasons, operator overloading and
>> function/method overloading are usually considered as two separate
>> language features.  C and python have the former but not the latter.
> 
> *cough* C has neither.

Nonsense.  The operators + - * / do different things depending on the types
of their operands.  That's operator overloading.

-- 
Grant Edwards                   grante             Yow!  I feel... JUGULAR...
                                  at               
                               visi.com            




More information about the Python-list mailing list