diff --git a/07-infinite-mirror/tf-07.py b/07-infinite-mirror/tf-07.py index 9c281a1..03cca5f 100755 --- a/07-infinite-mirror/tf-07.py +++ b/07-infinite-mirror/tf-07.py @@ -4,7 +4,8 @@ import re, sys, operator # Mileage may vary. If this crashes, make it lower RECURSION_LIMIT = 9500 # We add a few more, because, contrary to the name, -# this doesn't just rule recursion: it rules the depth of the call stack +# this doesn't just rule recursion: it rules the +# depth of the call stack sys.setrecursionlimit(RECURSION_LIMIT+10) def count(word_list, stopwords, wordfreqs):