commit | 43898b4f642acf182242744181143141228ca56e | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Wed Jun 14 04:09:25 2006 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Wed Jun 14 04:09:25 2006 +0000 |
tree | 7698daa8590f35042e112618973b26d2f28ab8b1 | |
parent | 5d7c290b7ba9353fa443e175fe02112aa53f21b5 [diff] |
SequenceMatcher.get_matching_blocks(): This now guarantees that adjacent triples in the result list describe non-adjacent matching blocks. That's _nice_ to have, and Guido said he wanted it. Not a bugfix candidate: Guido or not ;-), this changes visible endcase semantics (note that some tests had to change), and nothing about this was documented before. Since it was working as designed, and behavior was consistent with the docs, it wasn't "a bug".