Kaydet (Commit) dc9b17d9 authored tarafından Terry Reedy's avatar Terry Reedy

Add version-added note twice for new difflib SequenceMatcher autojunk parameter.

üst a66e029a
...@@ -44,6 +44,9 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module. ...@@ -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 purpose of sequence matching. This heuristic can be turned off by setting
the ``autojunk`` argument to ``False`` when creating the :class:`SequenceMatcher`. the ``autojunk`` argument to ``False`` when creating the :class:`SequenceMatcher`.
.. versionadded:: 3.2
The *autojunk* parameter.
.. class:: Differ .. class:: Differ
...@@ -352,6 +355,9 @@ The :class:`SequenceMatcher` class has this constructor: ...@@ -352,6 +355,9 @@ The :class:`SequenceMatcher` class has this constructor:
The optional argument *autojunk* can be used to disable the automatic junk The optional argument *autojunk* can be used to disable the automatic junk
heuristic. heuristic.
.. versionadded:: 3.2
The *autojunk* parameter.
:class:`SequenceMatcher` objects have the following methods: :class:`SequenceMatcher` objects have the following methods:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment