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

Skip to content

Commit 7f1c15b

Browse files
committed
Fix comment in difflib.
1 parent c67c0b0 commit 7f1c15b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/difflib.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def __init__(self, isjunk=None, a='', b='', autojunk=True):
204204
# returning true iff the element is "junk" -- this has
205205
# subtle but helpful effects on the algorithm, which I'll
206206
# get around to writing up someday <0.9 wink>.
207-
# DON'T USE! Only __chain_b uses this. Use isbjunk.
207+
# DON'T USE! Only __chain_b uses this. Use "in self.bjunk".
208208
# bjunk
209209
# the items in b for which isjunk is True.
210210
# bpopular
@@ -287,7 +287,6 @@ def set_seq2(self, b):
287287
# when self.isjunk is defined, junk elements don't show up in this
288288
# map at all, which stops the central find_longest_match method
289289
# from starting any matching block at a junk element ...
290-
# also creates the fast isbjunk function ...
291290
# b2j also does not contain entries for "popular" elements, meaning
292291
# elements that account for more than 1 + 1% of the total elements, and
293292
# when the sequence is reasonably large (>= 200 elements); this can

0 commit comments

Comments
 (0)