[docs] [issue7061] Improve 24.5. turtle doc
Alexander Belopolsky
report at bugs.python.org
Thu Nov 4 22:50:21 CET 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
I am attaching a patch that adds a hack that allows to run turtle doctests using turtle.run_doctests() function. Running this function has revealed numerous mistakes in doctests that are corrected in the patch.
The patch is against release27 branch because there are even more problems in py3k.
I don't think run_doctests hack belongs to turtle module. I think it would be more appropriate to place it in test.test_turtle.
I have also not been able to figure out how to make global functions' doctests runnable. The current patch disables them by mangling the >>> prompts in docstrings.
----------
Added file: http://bugs.python.org/file19500/issue7061-docstrings-r27.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7061>
_______________________________________
More information about the docs
mailing list