This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdk
Recipients cheryl.sabella, docs@python, eric.araujo, ezio.melotti, jdemeyer, mdk, steven.daprano, terry.reedy, willingc
Date 2019-09-12.10:28:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568284119.98.0.429488846409.issue36675@roundup.psfhosted.org>
In-reply-to
Content
I opened an issue on the sphinx-doc repo [1] to check if it would be possible to have an option in doctest blocks to not trim them.

We previously had a hack in Doc/tools/extensions/pyspecific.py to patch sphinx to not trim them for the doctest.rst file. But sphinx deprecated the hack we used :(

[1]: https://github.com/sphinx-doc/sphinx/issues/6698
History
Date User Action Args
2019-09-12 10:28:40mdksetrecipients: + mdk, terry.reedy, ezio.melotti, eric.araujo, steven.daprano, docs@python, jdemeyer, willingc, cheryl.sabella
2019-09-12 10:28:39mdksetmessageid: <1568284119.98.0.429488846409.issue36675@roundup.psfhosted.org>
2019-09-12 10:28:39mdklinkissue36675 messages
2019-09-12 10:28:39mdkcreate