if there is a return type of a method definition like java does

2009-03-29 Thread Coonay
if there is a return type of a method definition,that would lead to faster decision to do with the method called,do you think so? -- http://mail.python.org/mailman/listinfo/python-list

Re: if there is a return type of a method definition like java does

2009-03-29 Thread Rhodri James
On Sat, 28 Mar 2009 03:11:20 -, Coonay fla...@gmail.com wrote: if there is a return type of a method definition,that would lead to faster decision to do with the method called,do you think so? A method definition always returns a function object. There. Less facetiously, I don't see how

Re: if there is a return type of a method definition like java does

2009-03-28 Thread Diez B. Roggisch
Coonay schrieb: if there is a return type of a method definition,that would lead to faster decision to do with the method called,do you think so? No, because python has no overloaded methods - there is just one method called. Diez -- http://mail.python.org/mailman/listinfo/python-list