commit | a5db6009fe195274760e0fb79aff67cb7f97e00e | [log] [tgz] |
---|---|---|
author | Edward Loper <edloper@gradient.cis.upenn.edu> | Thu Aug 12 02:41:30 2004 +0000 |
committer | Edward Loper <edloper@gradient.cis.upenn.edu> | Thu Aug 12 02:41:30 2004 +0000 |
tree | 745a3b70f82e3969b90cba55a7bc9636744d3bb1 | |
parent | 8e4a34ba090a4ad9753ea8d9ccf95703c85fdbb4 [diff] |
- Changed output of DocTestParser.get_program() to make it easier to visually distinguish the expected output from the comments (use "##" to mark expected outputs, and "#" to mark comments). - If the string given to DocTestParser.get_program() is indented, then strip its indentation. (In particular, find the min indentation of non-blank lines, and strip that indentation from all lines.)