From a7ed2c0ca074d444f6d9df6d8fafc097b32e2066 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Fri, 11 Sep 2009 15:22:41 -0400 Subject: [PATCH] typo --- generators.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators.html b/generators.html index 140a584..61547f2 100755 --- a/generators.html +++ b/generators.html @@ -297,7 +297,7 @@ rules = []

[download plural5.py]

def rules(rules_filename):
-    with open('plural5-rules.txt', encoding='utf-8') as pattern_file:
+    with open(rules_filename, encoding='utf-8') as pattern_file:
         for line in pattern_file:
             pattern, search, replace = line.split(None, 3)
             yield build_match_and_apply_functions(pattern, search, replace)