]> granicus.if.org Git - python/commit
- Added DocTestParser.parse(), which parses a docstring into Examples
authorEdward Loper <edloper@gradient.cis.upenn.edu>
Thu, 26 Aug 2004 18:05:07 +0000 (18:05 +0000)
committerEdward Loper <edloper@gradient.cis.upenn.edu>
Thu, 26 Aug 2004 18:05:07 +0000 (18:05 +0000)
commit00f8da77e7d07de28318844fbfbf6cf07f915cf4
tree69042ac0cc787a964ac887b3f7039479fd8c0971
parent57d88e5abd06cefcc8d52d62765c36214b1c1956
- Added DocTestParser.parse(), which parses a docstring into Examples
  and intervening text strings.
- Removed DocTestParser.get_program(): use script_from_examples()
  instead.
- Fixed bug in DocTestParser._INDENT_RE
- Fixed bug in DocTestParser._min_indent
- Moved _want_comment() to the utility function section
Lib/doctest.py
Lib/test/test_doctest.py