Skip to content

Commit 641612b

Browse files
committed
doctest fixes 2
1 parent 82e9073 commit 641612b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/difflib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ The :class:`SequenceMatcher` class has this constructor:
630630
non-junk elements considered popular by the heuristic (if it is not
631631
disabled); *b2j* is a dict mapping the remaining elements of *b* to a list
632632
of positions where they occur. All three are reset whenever *b* is reset
633-
with :meth:`set_seqs` or :meth:`set_seq2`.
633+
with :meth:`~SequenceMatcherBase.set_seqs` or :meth:`~SequenceMatcherBase.set_seq2`.
634634

635635
.. versionchanged:: 3.2
636636
Added the *autojunk* parameter.
@@ -710,7 +710,7 @@ value over 0.6 means the sequences are close matches:
710710
0.866
711711

712712
If you're only interested in where the sequences match,
713-
:meth:`~SequenceMatcher.get_matching_blocks` is handy:
713+
:meth:`~SequenceMatcherBase.get_matching_blocks` is handy:
714714

715715
>>> for block in s.get_matching_blocks():
716716
... print("a[%d] and b[%d] match for %d elements" % block)

0 commit comments

Comments
 (0)