summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Reedy <tjreedy@udel.edu>2010-11-27 20:52:14 (GMT)
committerTerry Reedy <tjreedy@udel.edu>2010-11-27 20:52:14 (GMT)
commitdc9b17d922ba30cbfbcc767dfb0738b6bf66015d (patch)
tree8bd410525cca1bdd48db198f169d523a53ff7653
parenta66e029a9df200631ee8765ce7d89e1dcdf45f28 (diff)
downloadcpython-dc9b17d922ba30cbfbcc767dfb0738b6bf66015d.zip
cpython-dc9b17d922ba30cbfbcc767dfb0738b6bf66015d.tar.gz
cpython-dc9b17d922ba30cbfbcc767dfb0738b6bf66015d.tar.bz2
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 c7efa96..89d69ac 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: