[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

Raymond Hettinger report at bugs.python.org
Sun Jun 26 16:17:17 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Go head an patch the first self.matching_blocks to also return a named tuple.  Also, correct any doctests or examples using these.

The docs could also mention that list of namedtuples with fields a, b, and size is returned by get_matching_blocks().

----------
assignee: rhettinger -> terry.reedy
priority: normal -> low

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12384>
_______________________________________


More information about the Python-bugs-list mailing list