This is an issue with the documentation of directives found at http://docs.python.org/library/doctest.html#option-flags-and-directives
Quite a few examples of how to use the directives are included. Unfortunately, the actually directives aren't visible in the code examples given. For example, this:

   >>> print range(20) #doctest: +NORMALIZE_WHITESPACE
   [0,   1,  2,  3,  4,  5,  6,  7,  8,  9,
   10,  11, 12, 13, 14, 15, 16, 17, 18, 19]
is rendered as

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


Scott Mancuso