[Python-Dev] Doctest and Footnotes
Alexander Belopolsky
alexander.belopolsky at gmail.com
Tue Jul 11 19:34:49 CEST 2006
Benji York <benji <at> zope.com> writes:
>
> Here's the idea: when a footnote is referenced in prose, execute the
> code associated with the footnote at that point. For example:
>
Another natural place for the referenced code is the __test__ dictionary.
Using that has an advantage of not clobbering the display in the default
pydoc viewer.
More information about the Python-Dev
mailing list