[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1344825 - in /subversion/trunk/tools/dev/mergegraph: mergegraph.py save_as_sh.py

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 31 May 2012 21:45:20 +0100 (BST)

I (Julian Foad) wrote:

> Greg Stein wrote:
>>> +def command(out, cmd, *args):
>>> +  """Write the shell command CMD with the arguments ARGS to the file-like
>>> +     object OUT."""
>> Please review my earlier comments about standard docstring formatting in
>> Python. More specifically, PEP 8. (Google it)
>
> OK, r1344888 for 'most
> importantly, the """ that ends a multiline docstring should be
> on a line by itself [...]'.  Anything further will have to wait till another
> day.

Let me add a few more words here.  I support efforts to both standardize and raise the usefulness of doc strings.  I just haven't yet spent the time to read PEP 257 (being the relevant one) in full, digest it into my Python-commenting brain-space, decide what subset of its suggestions are appropriate for us to use in scripts like these, and go back and change them.

- Julian
Received on 2012-05-31 22:45:56 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.