Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'algorithm': 0.03; 'parsing': 0.07; 'docstrings': 0.09; 'pep': 0.09; 'sep': 0.09; 'splitting': 0.09; 'subject:parsing': 0.09; 'terry': 0.09; 'cc:addr:python-list': 0.10; 'looked': 0.10; 'source,': 0.15; 'docstring': 0.16; 'finney': 0.16; 'received:mail- wi0-f178.google.com': 0.16; 'reedy': 0.16; 'wrote:': 0.17; 'all,': 0.21; 'cc:2**0': 0.23; "haven't": 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'received:google.com': 0.34; 'ben': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'where': 0.40; 'header:Received:5': 0.40; 'great': 0.64; 'joel': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HX76013u721a1R8qsb2plaW966Uj72B7ovGlE8dEI0w=; b=s6J18WXhc2ox0PjuczK12w9BccXvjsRO0ixjgFSXjydlRw/nHoUnDzhop7JFkdot5M TisVt4zirIx4JUrti1A6YpbhjccpZ32z62QB1cl1Gr1LBKotOoI+Agx0meM9T+KPwEkt jcpa06R3MDduYDQH5iR+KXFGtnYAe68/EKmCoBcqvNXwnxmIik6zb3L6Wn/l/Hgb1M0I lYctWDEIrvnPC91Q4wEzGrTPf4mHSmMsi5gm9PvqbUNPc4QIAH9Za3fdlswInkxJ/BxB /O/vEFyr5c5hJJLnKP50uYM1Q94fP/4/hpM8AunXdu1Z9Ue2g7N7FcJeT7uRr+wALmAM pohQ== MIME-Version: 1.0 In-Reply-To: References: <7wk3vskrz6.fsf@benfinney.id.au> Date: Tue, 18 Sep 2012 06:22:56 -0400 Subject: Re: Docstring parsing and formatting From: Joel Goldstick To: Terry Reedy Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347963783 news.xs4all.nl 6898 [2001:888:2000:d::a6]:51676 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29420 On Tue, Sep 18, 2012 at 1:03 AM, Terry Reedy wrote: > On 9/17/2012 10:03 PM, Ben Finney wrote: >> >> Howdy all, >> >> Where can I find a standard implementation of the docstring parsing and >> splitting algorithm from PEP 257? Do you know about pydoc? I haven't looked at its source, but since it does a great job of printing documentation from docstrings it might contain what you need -- Joel Goldstick