pydoc - suppressing builtins?

Discussion in 'Python' started by contact@alanlittle.org, Jun 23, 2005.

  1. Guest

    Is it possible to persuade pydoc not to include documentation for
    methods inherited from built-in classes? I have several classes that
    inherit from dict, and don't really need documentation thousands of
    lines long that consists mostly of dict's methods repeated multiple
    times.

    I'm sure I could qite easily write something to post-process the HTML
    files; just wondering if there might be an easier way.

    thanks
    Alan
    , Jun 23, 2005
    #1
    1. Advertising

  2. Alan> Is it possible to persuade pydoc not to include documentation for
    Alan> methods inherited from built-in classes? ....

    Alan> I'm sure I could qite easily write something to post-process the
    Alan> HTML files; just wondering if there might be an easier way.

    If you're going to go to the trouble of writing something to post-process
    the HTML, maybe it would be no more difficult to simply patch pydoc, then
    everyone wins.

    Skip
    Skip Montanaro, Jun 23, 2005
    #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. Sean 'Shaleh' Perry

    Re: Least used builtins?

    Sean 'Shaleh' Perry, Jul 4, 2003, in forum: Python
    Replies:
    2
    Views:
    318
    Lulu of the Lotus-Eaters
    Jul 5, 2003
  2. Raymond Hettinger
    Replies:
    8
    Views:
    296
    Daniel 'Dang' Griffith
    Apr 21, 2004
  3. Raymond Hettinger
    Replies:
    0
    Views:
    300
    Raymond Hettinger
    Apr 19, 2004
  4. Kamilche
    Replies:
    5
    Views:
    334
    Kamilche
    Jun 10, 2004
  5. BartlebyScrivener

    pydoc script.py vs. pydoc scriptpy

    BartlebyScrivener, Oct 20, 2007, in forum: Python
    Replies:
    1
    Views:
    624
    Stargaming
    Oct 22, 2007
Loading...

Share This Page