]> granicus.if.org Git - python/commitdiff
Mention new parameter and attributes of the difflib.SequenceMatcher class added in...
authorEli Bendersky <eliben@gmail.com>
Mon, 31 Jan 2011 04:21:40 +0000 (04:21 +0000)
committerEli Bendersky <eliben@gmail.com>
Mon, 31 Jan 2011 04:21:40 +0000 (04:21 +0000)
Doc/whatsnew/3.2.rst

index 41d099fb144fb509e1f9f488265a83bf5c14a744..2f424248e45589fabfb1c07874259038455cab48 100644 (file)
@@ -2094,6 +2094,15 @@ reading directly from dictionaries and strings.
 
 (All changes contributed by Ćukasz Langa.)
 
+difflib
+-------
+
+:class:`difflib.SequenceMatcher` has a new parameter in its constructor,
+*autojunk*, that allows the user to turn off the automatic junk heuristic the
+class uses in its algorithm.  Additionally, two new attributes were exposed
+to users - *bjunk* and *bpopular*, allowing better understanding of the
+heuristics used by the class.
+
 urllib.parse
 ------------