diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-06-14 13:59:15 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-06-14 13:59:15 (GMT) |
commit | 7259d7bfd6af4c0a111fa0905da510673907ff72 (patch) | |
tree | c9b14e89406fe4a36808058401e91d4bacec6e65 /Doc/whatsnew | |
parent | 4180e12d26b0e51773572a796934422e6496e7a7 (diff) | |
download | cpython-7259d7bfd6af4c0a111fa0905da510673907ff72.zip cpython-7259d7bfd6af4c0a111fa0905da510673907ff72.tar.gz cpython-7259d7bfd6af4c0a111fa0905da510673907ff72.tar.bz2 |
Add item
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/whatsnew25.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex index ac2ede8..7a9ea2f 100644 --- a/Doc/whatsnew/whatsnew25.tex +++ b/Doc/whatsnew/whatsnew25.tex @@ -1373,6 +1373,12 @@ ts = datetime.strptime('10:13:15 2006-03-07', '%H:%M:%S %Y-%m-%d') \end{verbatim} +\item The \method{SequenceMatcher.get_matching_blocks()} method +in the \module{difflib} module now guarantees to return a minimal list +of blocks describing matching subsequences. Previously, the algorithm would +occasionally break a block of matching elements into two list entries. +(Enhancement by Tim Peters.) + \item The \module{doctest} module gained a \code{SKIP} option that keeps an example from being executed at all. This is intended for code snippets that are usage examples intended for the reader and |