Doctest documentation?

S

Steven D'Aprano

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:

For example, this test passes:
[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?
 
H

Hans Mulder

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:

For example, this test passes:
[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?

I don't see them either.

-- HansM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top