From: Eli Bendersky Date: Mon, 31 Jan 2011 04:21:40 +0000 (+0000) Subject: Mention new parameter and attributes of the difflib.SequenceMatcher class added in... X-Git-Tag: v3.2rc3~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2ae80730d4e5547f7d227ae5d351bb9757328a8;p=python Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986) --- diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 41d099fb14..2f424248e4 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 ------------