summaryrefslogtreecommitdiffstats
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-12-10 12:02:17 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-12-10 12:02:17 (GMT)
commit7f1c15b854626df91663a5d1800c70b5cbdf0f25 (patch)
tree414e0ebfb077e4a1c334aa7a8fe7619cc93c2f33 /Lib/difflib.py
parentc67c0b0db1e6c40ed510d7de6b9e4f18bbc6d687 (diff)
downloadcpython-7f1c15b854626df91663a5d1800c70b5cbdf0f25.zip
cpython-7f1c15b854626df91663a5d1800c70b5cbdf0f25.tar.gz
cpython-7f1c15b854626df91663a5d1800c70b5cbdf0f25.tar.bz2
Fix comment in difflib.
Diffstat (limited to 'Lib/difflib.py')
-rw-r--r--Lib/difflib.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/difflib.py b/Lib/difflib.py
index d34bbca..ae377d7 100644
--- a/Lib/difflib.py
+++ b/Lib/difflib.py
@@ -204,7 +204,7 @@ class SequenceMatcher:
# returning true iff the element is "junk" -- this has
# subtle but helpful effects on the algorithm, which I'll
# get around to writing up someday <0.9 wink>.
- # DON'T USE! Only __chain_b uses this. Use isbjunk.
+ # DON'T USE! Only __chain_b uses this. Use "in self.bjunk".
# bjunk
# the items in b for which isjunk is True.
# bpopular
@@ -287,7 +287,6 @@ class SequenceMatcher:
# when self.isjunk is defined, junk elements don't show up in this
# map at all, which stops the central find_longest_match method
# from starting any matching block at a junk element ...
- # also creates the fast isbjunk function ...
# b2j also does not contain entries for "popular" elements, meaning
# elements that account for more than 1 + 1% of the total elements, and
# when the sequence is reasonably large (>= 200 elements); this can