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

Discussion in 'Python' started by Coonay, Mar 28, 2009.

  1. Coonay

    Coonay Guest

    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?
     
    Coonay, Mar 28, 2009
    #1
    1. Advertising

  2. 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
     
    Diez B. Roggisch, Mar 28, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Greenhorn
    Replies:
    15
    Views:
    849
    Keith Thompson
    Mar 6, 2005
  2. Diego Martins
    Replies:
    5
    Views:
    493
    Diego Martins
    Sep 5, 2006
  3. Google Man
    Replies:
    8
    Views:
    1,213
    Google Man
    Dec 16, 2007
  4. Pierre Yves
    Replies:
    2
    Views:
    501
    Pierre Yves
    Jan 10, 2008
  5. avasilev
    Replies:
    9
    Views:
    397
    Goran
    Jan 5, 2012
Loading...

Share This Page