mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986)
This commit is contained in:
parent
f30793a6bb
commit
e2ae80730d
1 changed files with 9 additions and 0 deletions
|
@ -2094,6 +2094,15 @@ reading directly from dictionaries and strings.
|
||||||
|
|
||||||
(All changes contributed by Łukasz Langa.)
|
(All changes contributed by Łukasz Langa.)
|
||||||
|
|
||||||
|
difflib
|
||||||
|
-------
|
||||||
|
|
||||||
|
:class:`difflib.SequenceMatcher` has a new parameter in its constructor,
|
||||||
|
*autojunk*, that allows the user to turn off the automatic junk heuristic the
|
||||||
|
class uses in its algorithm. Additionally, two new attributes were exposed
|
||||||
|
to users - *bjunk* and *bpopular*, allowing better understanding of the
|
||||||
|
heuristics used by the class.
|
||||||
|
|
||||||
urllib.parse
|
urllib.parse
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue