how to get function signature

Discussion in 'Python' started by upadhyay@gmail.com, Jul 28, 2005.

  1. Guest

    , Jul 28, 2005
    #1
    1. Advertising

  2. Robert Kern Guest

    wrote:
    > Hi,
    >
    > I was working on a dir like function that gives more information than
    > the usual dir, but I am not satisfied with the way I get function
    > arguments for callable members of an object. Take a look at it here:
    > http://nerdierthanthou.nfshost.com/2005/07/mdir-for-python.html. I have
    > seen PythonWin showing function arguments as tooltips, can anyone
    > please let me know how to get it.


    import inspect

    --
    Robert Kern


    "In the fields of hell where the grass grows high
    Are the graves of dreams allowed to die."
    -- Richard Harter
    Robert Kern, Jul 28, 2005
    #2
    1. Advertising

  3. Robert Kern wrote:
    > wrote:
    >
    >> Hi,
    >>
    >> I was working on a dir like function that gives more information than
    >> the usual dir, but I am not satisfied with the way I get function
    >> arguments for callable members of an object. Take a look at it here:
    >> http://nerdierthanthou.nfshost.com/2005/07/mdir-for-python.html. I have
    >> seen PythonWin showing function arguments as tooltips, can anyone
    >> please let me know how to get it.

    >
    >
    > import inspect
    >

    PythonWin provides this capability for machines using Windows.

    Colin W.
    Colin J. Williams, Jul 28, 2005
    #3
    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. JJBW
    Replies:
    1
    Views:
    10,039
    Joerg Jooss
    Apr 24, 2004
  2. sqweek
    Replies:
    2
    Views:
    390
    Charles Rapp
    Jan 13, 2006
  3. Replies:
    1
    Views:
    374
  4. Gustavo Narea
    Replies:
    14
    Views:
    846
    Gustavo Narea
    Feb 16, 2009
  5. daniel rich
    Replies:
    5
    Views:
    301
    daniel rich
    Nov 14, 2012
Loading...

Share This Page