No method overloading

Hussein B hubaghdadi at gmail.com
Sun Aug 24 04:15:51 EDT 2008


Hey,
Please correct me if I'm wrong but Python doesn't support method
overload, right?
--
def method(self):
 #code
def method(self, data):
 #code
--
The last declaration of method() erase the previous one (like
JavaScript).
Thanks.



More information about the Python-list mailing list