Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2ae807

Browse files
committed
Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986)
1 parent f30793a commit e2ae807

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Doc/whatsnew/3.2.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,6 +2094,15 @@ reading directly from dictionaries and strings.
20942094

20952095
(All changes contributed by Łukasz Langa.)
20962096

2097+
difflib
2098+
-------
2099+
2100+
:class:`difflib.SequenceMatcher` has a new parameter in its constructor,
2101+
*autojunk*, that allows the user to turn off the automatic junk heuristic the
2102+
class uses in its algorithm. Additionally, two new attributes were exposed
2103+
to users - *bjunk* and *bpopular*, allowing better understanding of the
2104+
heuristics used by the class.
2105+
20972106
urllib.parse
20982107
------------
20992108

0 commit comments

Comments
 (0)