Author steven.daprano
Recipients docs@python, steven.daprano
Date 2019-04-20.10:43:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555757030.56.0.8094269644.issue36675@roundup.psfhosted.org>
In-reply-to
Content
(Apologies if this is the wrong place for reporting website bugs.)

The website is not rendering doctest directives or comments, either that or the comments have been stripped from the examples.

On the doctest page itself, all the comments are missing:

https://docs.python.org/3/library/doctest.html#directives

The first example says:

    >>> print(list(range(20))) 
    [0,   1,  2,  3,  4,  5,  6,  7,  8,  9,
    10,  11, 12, 13, 14, 15, 16, 17, 18, 19]

but without the directive, the test would fail. Screen shot attached.

Doctest directives are also missing from here:

https://docs.python.org/3/library/ctypes.html



My browser: Firefox 45.1.1

Also checked with text browser "lynx".
History
Date User Action Args
2019-04-20 10:43:50steven.dapranosetrecipients: + steven.daprano, docs@python
2019-04-20 10:43:50steven.dapranosetmessageid: <1555757030.56.0.8094269644.issue36675@roundup.psfhosted.org>
2019-04-20 10:43:50steven.dapranolinkissue36675 messages
2019-04-20 10:43:49steven.dapranocreate