Re: Use the Source Luke

Discussion in 'Python' started by Miki, Jan 29, 2011.

  1. Miki

    Miki Guest

    Clojure a "source" that shows the source of a function (doh!).
    It's probably easy to implement in Python with the inspect module. Sadly this won't work for built-ins.

    Clojure's irc clojurebot will answer "source <function>" with a link to github that points to the first line of definition.
     
    Miki, Jan 29, 2011
    #1
    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. Replies:
    0
    Views:
    588
  2. Replies:
    0
    Views:
    364
  3. Replies:
    0
    Views:
    1,117
  4. Replies:
    0
    Views:
    340
  5. Raymond Hettinger

    Use the Source Luke

    Raymond Hettinger, Jan 28, 2011, in forum: Python
    Replies:
    31
    Views:
    1,274
    Daniel Fetchinson
    Feb 5, 2011
Loading...

Share This Page