This commit is contained in:
Mark Pilgrim
2009-08-17 22:05:10 -04:00
parent 8c4fd325a9
commit cf721a18c4
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -20,9 +20,9 @@ class LazyRules:
def __init__(self):
self.pattern_file = open(self.rules_filename, encoding='utf-8')
self.cache = []
self.cache_index = 0
def __iter__(self):
self.cache_index = 0
return self
def __next__(self):