[chirp_devel] docstring formatting standard?
Craig Jones
Sun Jun 11 22:23:54 PDT 2023
Which docstring formatting standard am I supposed to be using? I noticed
that some existing docstrings place an @ in front of parameter names
in-line with otherwise unformatted descriptions, but that doesn't
correspond to any of these:
Epytext syntax:
@type num_dogs: int
@param num_dogs: the number of dogs
Sphinx syntax:
:param param1: The first parameter, defaults to 1.
:type: int
Google syntax:
Args:
param1 (int): The first parameter.
NumPy syntax:
Parameters
----------
param1 : int
The first parameter.
--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20230611/53177893/attachment-0001.html
More information about the chirp_devel
mailing list