Julien Palard <julien+pyt...@palard.fr> added the comment:

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

----------

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

Reply via email to