filter -> test in the tests section (i feel so embarrassed).
authorArmin Ronacher <armin.ronacher@active-4.com>
Thu, 11 Sep 2008 18:46:34 +0000 (20:46 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Thu, 11 Sep 2008 18:46:34 +0000 (20:46 +0200)
--HG--
branch : trunk

docs/api.rst

index d7ed8449bbd3830b6f9cd53409041521cc832209..41949c8bb0cce05f1a497acc39bd20e13fdbaca5 100644 (file)
@@ -528,13 +528,13 @@ active :class:`Context` rather then the environment.
 Custom Tests
 ------------
 
-Tests work like filters just that there is no way for a filter to get access
+Tests work like filters just that there is no way for a test to get access
 to the environment or context and that they can't be chained.  The return
-value of a filter should be `True` or `False`.  The purpose of a filter is to
+value of a test should be `True` or `False`.  The purpose of a test is to
 give the template designers the possibility to perform type and conformability
 checks.
 
-Here a simple filter that checks if a variable is a prime number::
+Here a simple test that checks if a variable is a prime number::
 
     import math