A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-November/106036.html below:

[Python-Dev] [Python-checkins] r86745 - in python/branches/py3k: Doc/library/difflib.rst Lib/difflib.py Lib/test/test_difflib.py Misc/NEWS

[Python-Dev] [Python-checkins] r86745 - in python/branches/py3k: Doc/library/difflib.rst Lib/difflib.py Lib/test/test_difflib.py Misc/NEWSNick Coghlan ncoghlan at gmail.com
Sat Nov 27 13:17:31 CET 2010
On Thu, Nov 25, 2010 at 4:12 PM, terry.reedy <python-checkins at python.org> wrote:
>  The :class:`SequenceMatcher` class has this constructor:
>
>
> -.. class:: SequenceMatcher(isjunk=None, a='', b='')
> +.. class:: SequenceMatcher(isjunk=None, a='', b='', autojunk=True)
>
>    Optional argument *isjunk* must be ``None`` (the default) or a one-argument
>    function that takes a sequence element and returns true if and only if the
> @@ -340,6 +349,9 @@
>    The optional arguments *a* and *b* are sequences to be compared; both default to
>    empty strings.  The elements of both sequences must be :term:`hashable`.
>
> +   The optional argument *autojunk* can be used to disable the automatic junk
> +   heuristic.
> +

Catching up on checkins traffic, so a later checkin may already fix
this, but there should be a versionchanged tag in the docs to note
when the autojunk parameter was added.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4