From 7259d7bfd6af4c0a111fa0905da510673907ff72 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Wed, 14 Jun 2006 13:59:15 +0000 Subject: Add item --- Doc/whatsnew/whatsnew25.tex | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v0.12