Terry J. Reedy <tjre...@udel.edu> added the comment:

In my last comment above, I forgot that this issue is about *docstrings*.  We 
do not officially process docstrings with Sphinx, so there are no warnings to 
be suppressed.

PEP 8, which covers style for the stdlib, refers to 
https://www.python.org/dev/peps/pep-0257/
Neither says anything about markup and last I remember, there should not be any 
for the stdlib. Pep-0257 gives this example:

def complex(real=0.0, imag=0.0):
    """Form a complex number.

    Keyword arguments:
    real -- the real part (default 0.0)
    imag -- the imaginary part (default 0.0)
    """
Here, parameter names are indicated by the formatting, not by markup.  If `' is 
used in such lists, it should just be deleted.  I believe 'name' is sometimes 
used in running text.

The help() function prints a docstring as is.

----------
nosy:  -rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue28710>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to