Message253380
A question/comment:
In this case (and there are probably other cases like it) - it seems to me that the docstring (in os.py) and the docs (in os.rst) are similar enough that the docstring from the code could be included in the docs (using Sphinx's autodoc).
What is the preferred way? Is there a reason to have it the way it is? I notice the .rst docs have some formatting applied, is it considered not OK to put formatting in docstrings? |
|
| Date |
User |
Action |
Args |
| 2015-10-23 13:04:33 | Bernt.Røskar.Brenna | set | recipients:
+ Bernt.Røskar.Brenna, vstinner, ezio.melotti, r.david.murray, docs@python, python-dev |
| 2015-10-23 13:04:33 | Bernt.Røskar.Brenna | set | messageid: <1445605473.94.0.865181371832.issue25461@psf.upfronthosting.co.za> |
| 2015-10-23 13:04:33 | Bernt.Røskar.Brenna | link | issue25461 messages |
| 2015-10-23 13:04:33 | Bernt.Røskar.Brenna | create | |
|