From b6d0b86e565f8fb3bf4466f325935ba186862a1d Mon Sep 17 00:00:00 2001 From: Jonathan Sanders Date: Fri, 13 Jul 2018 12:24:50 -0400 Subject: [PATCH] Fix function arguments in comment --- 07-infinite-mirror/tf-07.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07-infinite-mirror/tf-07.py b/07-infinite-mirror/tf-07.py index e622226..b23bd96 100755 --- a/07-infinite-mirror/tf-07.py +++ b/07-infinite-mirror/tf-07.py @@ -35,7 +35,7 @@ def wf_print(wordfreq): stop_words = set(open('../stop_words.txt').read().split(',')) words = re.findall('[a-z]{2,}', open(sys.argv[1]).read().lower()) word_freqs = {} -# Theoretically, we would just call count(words, word_freqs) +# Theoretically, we would just call count(words, stop_words, word_freqs) # Try doing that and see what happens. for i in range(0, len(words), RECURSION_LIMIT): count(words[i:i+RECURSION_LIMIT], stop_words, word_freqs)