[Python-checkins] r88273 - python/branches/py3k/Doc/whatsnew/3.2.rst

eli.bendersky python-checkins at python.org
Mon Jan 31 05:21:40 CET 2011


Author: eli.bendersky
Date: Mon Jan 31 05:21:40 2011
New Revision: 88273

Log:
Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986)



Modified:
   python/branches/py3k/Doc/whatsnew/3.2.rst

Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.2.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.2.rst	Mon Jan 31 05:21:40 2011
@@ -2094,6 +2094,15 @@
 
 (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
 ------------
 


More information about the Python-checkins mailing list