Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Doctest documentation?

29 views
Skip to first unread message

Steven D'Aprano

unread,
May 20, 2012, 11:55:52 AM5/20/12
to
Is this a bug in the doctest documentation, or is my browser broken?

On this page:

http://docs.python.org/library/doctest.html#option-flags-and-directives

scroll down to the examples showing the doctest directives, e.g:

[quote]
For example, this test passes:

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

Likewise for the Python 3 version:

http://docs.python.org/py3k/library/doctest.html

Seems to me that the actual directives are missing. I can't see them in
the raw HTML either. Can anyone else confirm that they are missing?


--
Steven

Hans Mulder

unread,
May 21, 2012, 2:29:04 AM5/21/12
to
I don't see them either.

-- HansM




0 new messages