On Aug 24, 6:15 pm, Hussein B <[EMAIL PROTECTED]> wrote:
> Please correct me if I'm wrong but Python doesn't support method
> overload, right?
Guido once wrote an article on rolling your own:
http://www.artima.com/weblogs/viewpost.jsp?thread=101605
--
http://mail.python.org/mailman/listinfo/pyth
Hussein B wrote:
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).
in Python, methods are callable attributes, and an attribu
On Aug 24, 6:15 pm, Hussein B <[EMAIL PROTECTED]> wrote:
> 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
> JavaScrip
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.
--
http://mail.python.org/mailman/listinfo/python-list