[issue9730] base64 docs refers to strings instead of bytes

Georg Brandl report at bugs.python.org
Sat Sep 4 00:57:17 CEST 2010

Georg Brandl <georg at python.org> added the comment:

>> Generally: +1 on making sure examples in the docs are up to date.  If
>> someone wants to do the tedious work of making sure that a "make
>> doctest" succeeds, I'm all for it, it may involve adding a few (in
>> HTML output invisible) testsetup blocks.
> I'm not sure that's a good idea. It may add a lot of spurious imports
> which only make the examples longer and less readable.

That's why I said to use "testsetup" directives -- they are not visible in the HTML/PDF/... output, but used when running the tests.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list