From 99a47ef5e060f0f06d13e5f8cfeb65bbc66b466c Mon Sep 17 00:00:00 2001 From: ianb Date: Sun, 15 Mar 2009 16:14:42 +0000 Subject: fix looper test --- tests/test_template.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_template.txt b/tests/test_template.txt index ec2bd75..60c3afb 100644 --- a/tests/test_template.txt +++ b/tests/test_template.txt @@ -92,7 +92,7 @@ Also a couple handy functions;: There's a handyish looper thing you can also use in your templates (or in Python, but it's more useful in templates generally):: - >>> from tempita.looper import looper + >>> from tempita import looper >>> seq = ['apple', 'asparagus', 'Banana', 'orange'] >>> for loop, item in looper(seq): ... if item == 'apple': -- cgit v1.2.1