[New-bugs-announce] [issue43676] Doctest ELLIPSIS explanation hard to follow when they're missing

Tim Hatch report at bugs.python.org
Wed Mar 31 01:31:48 EDT 2021


New submission from Tim Hatch <tshatch at gmail.com>:

The doctest docs try to explain directives like ELLIPSIS but those directives are absent from the rendered html.

Where?

Most of the code blocks in the Directives section, and https://docs.python.org/3/library/doctest.html#directives and the one introduced by "nice approach" subsequently are missing their directive comments.

The docs today say they go with Python 3.9.2 generated by Sphinx 2.4.4.  I haven't tried generating them manually, but it appears the `pycon` lexer for Pygments handles these fine, so I assume it's a problem in reST.

----------
assignee: docs at python
components: Documentation
messages: 389874
nosy: Tim.Hatch, docs at python
priority: normal
severity: normal
status: open
title: Doctest ELLIPSIS explanation hard to follow when they're missing
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43676>
_______________________________________


More information about the New-bugs-announce mailing list