[Python-Dev] Doctest and Footnotes (original) (raw)
Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Jul 11 19:34:49 CEST 2006
- Previous message: [Python-Dev] Doctest and Footnotes
- Next message: [Python-Dev] Doctest and Footnotes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Benji York <benji 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.
- Previous message: [Python-Dev] Doctest and Footnotes
- Next message: [Python-Dev] Doctest and Footnotes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]