From dc9b17d922ba30cbfbcc767dfb0738b6bf66015d Mon Sep 17 00:00:00 2001 From: Terry Reedy Date: Sat, 27 Nov 2010 20:52:14 +0000 Subject: Add version-added note twice for new difflib SequenceMatcher autojunk parameter. --- Doc/library/difflib.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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: -- cgit v0.12