summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Reedy <tjreedy@udel.edu>2010-11-27 20:52:14 +0000
committerTerry Reedy <tjreedy@udel.edu>2010-11-27 20:52:14 +0000
commitcad04564e4805d06d78e6aa882c1af165004209a (patch)
tree1752c1c08c3ff2df5322c041e19a955bc6c8c126
parent960f14eb6676c0c45aa6166afdb0d419433ea512 (diff)
downloadcpython-cad04564e4805d06d78e6aa882c1af165004209a.tar.gz
Add version-added note twice for new difflib SequenceMatcher autojunk parameter.
-rw-r--r--Doc/library/difflib.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst
index c7efa967b0..89d69acf95 100644
--- a/Doc/library/difflib.rst
+++ b/Doc/library/difflib.rst
@@ -44,6 +44,9 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
the purpose of sequence matching. This heuristic can be turned off by setting
the ``autojunk`` argument to ``False`` when creating the :class:`SequenceMatcher`.
+ .. versionadded:: 3.2
+ The *autojunk* parameter.
+
.. class:: Differ
@@ -352,6 +355,9 @@ The :class:`SequenceMatcher` class has this constructor:
The optional argument *autojunk* can be used to disable the automatic junk
heuristic.
+ .. versionadded:: 3.2
+ The *autojunk* parameter.
+
:class:`SequenceMatcher` objects have the following methods: