summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2011-01-31 04:21:40 (GMT)
committerEli Bendersky <eliben@gmail.com>2011-01-31 04:21:40 (GMT)
commite2ae80730d4e5547f7d227ae5d351bb9757328a8 (patch)
treea623b19339d673c5c06b17cb1d5ed1ffc907a4dd /Doc/whatsnew
parentf30793a6bbde7b37446c2b5356d3b66cc70d06b1 (diff)
downloadcpython-e2ae80730d4e5547f7d227ae5d351bb9757328a8.zip
cpython-e2ae80730d4e5547f7d227ae5d351bb9757328a8.tar.gz
cpython-e2ae80730d4e5547f7d227ae5d351bb9757328a8.tar.bz2
Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.2.rst9
1 files changed, 9 insertions, 0 deletions
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
------------