diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2020-10-31 11:07:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 11:07:37 +0000 |
commit | 180a924eea307cfa0062da64b5fb74f6d39d1a0e (patch) | |
tree | 55e21698491fb8bbc8146146d809d4aba1da78de | |
parent | 05e5c2b2efd24de9a6942d07cb90f341217c22ae (diff) | |
parent | 651edbd1eb75a3ef3ed99d1504a8b9927d07d0c4 (diff) | |
download | numpydoc-180a924eea307cfa0062da64b5fb74f6d39d1a0e.tar.gz |
Merge pull request #300 from WarrenWeckesser/long-see-also-entry
Add a note to the docstring standard about long 'See Also' entries.
-rw-r--r-- | doc/format.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/format.rst b/doc/format.rst index 788126f..3c60b90 100644 --- a/doc/format.rst +++ b/doc/format.rst @@ -329,6 +329,16 @@ The sections of a function's docstring are: func_b, func_c_, func_d func_e + If the combination of the function name and the description creates + a line that is too long, the entry may be written as two lines, with + the function name and colon on the first line, and the description + on the next line, indented four spaces:: + + See Also + -------- + package.module.submodule.func_a : + A somewhat long description of the function. + 13. **Notes** An optional section that provides additional information about the |