From: Terry Reedy Date: Sat, 27 Nov 2010 20:52:14 +0000 (+0000) Subject: Add version-added note twice for new difflib SequenceMatcher autojunk parameter. X-Git-Tag: v3.2b1~188 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc9b17d922ba30cbfbcc767dfb0738b6bf66015d;p=thirdparty%2FPython%2Fcpython.git Add version-added note twice for new difflib SequenceMatcher autojunk parameter. --- diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst index c7efa967b00c..89d69acf95cc 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: