From e2ae80730d4e5547f7d227ae5d351bb9757328a8 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Mon, 31 Jan 2011 04:21:40 +0000 Subject: Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986) --- Doc/whatsnew/3.2.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 41d099f..2f42424 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -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 ------------ -- cgit v0.12