Nomenclature

John A Meinel john at arbash-meinel.com
Tue Oct 4 16:04:34 BST 2005


David Allouche wrote:
> On Tue, 2005-10-04 at 16:34 +1000, Martin Pool wrote:
>
>>We should also choose and stick to one convention for docstrings.  I
>>see there is some epydoc stuff in there.  If people find the output of
>>it really useful we can standardize on it, but I'd prefer to look at
>>ReST.
>
>
> Epydoc can use ReST syntax. Look at PyBaz ("make doc" to generate) for a
> real life example.
>
> I like this syntax a lot, and use it in docstrings even in other
> projects (when do not already have an established convention) that do
> not use epydoc, because it gives an displine that's easy to follow to
> produce really informative docstrings.
>

So ReST also uses the
:param X: stuff
:type X: string

Format?

In which case, it really isn't that different. It just allows you to use
ReST for hyperlinks, etc.

Sounds good to me.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051004/5b6fdf7e/attachment.pgp 


More information about the bazaar mailing list