diff options
author | Terry Reedy <tjreedy@udel.edu> | 2010-12-15 20:18:10 (GMT) |
---|---|---|
committer | Terry Reedy <tjreedy@udel.edu> | 2010-12-15 20:18:10 (GMT) |
commit | 17a59252e8505439decbdf80c73d2465288f65c7 (patch) | |
tree | a013b989af70181e83f9dde3f40bc09293ea3b76 /Doc/library/difflib.rst | |
parent | 50ba19ee454e47b44cb0a9f00746d8ecdf0aa1b2 (diff) | |
download | cpython-17a59252e8505439decbdf80c73d2465288f65c7.zip cpython-17a59252e8505439decbdf80c73d2465288f65c7.tar.gz cpython-17a59252e8505439decbdf80c73d2465288f65c7.tar.bz2 |
Issue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport.
Diffstat (limited to 'Doc/library/difflib.rst')
-rw-r--r-- | Doc/library/difflib.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst index 1d623ce..a0afe81 100644 --- a/Doc/library/difflib.rst +++ b/Doc/library/difflib.rst @@ -359,11 +359,11 @@ The :class:`SequenceMatcher` class has this constructor: The *autojunk* parameter. SequenceMatcher objects get three data attributes: *bjunk* is the - set of elements of b for which *isjunk* is True; *bpopular* is the set of non- - junk elements considered popular by the heuristic (if it is not disabled); - *b2j* is a dict mapping the remaining elements of b to a list of positions where - they occur. All three are reset whenever *b* is reset with :meth:`set_seqs` - or :meth:`set_seq2`. + set of elements of *b* for which *isjunk* is True; *bpopular* is the set of + non-junk elements considered popular by the heuristic (if it is not + disabled); *b2j* is a dict mapping the remaining elements of *b* to a list + of positions where they occur. All three are reset whenever *b* is reset + with :meth:`set_seqs` or :meth:`set_seq2`. .. versionadded:: 3.2 The *bjunk* and *bpopular* attributes. |