]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Added changelog entry for #658
authorArmin Ronacher <armin.ronacher@active-4.com>
Thu, 12 Jan 2017 22:50:08 +0000 (23:50 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Thu, 12 Jan 2017 22:50:08 +0000 (23:50 +0100)
CHANGES
jinja2/tests.py

diff --git a/CHANGES b/CHANGES
index 6851103e28bb23996cc2db0bc1956fb5f054536d..08d7df50fe5f8f6cbe8a350308e8c88090bc77de 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,8 @@ Version 2.10
 - Added a new extension node called `OverlayScope` which can be used to
   create an unoptimized scope that will look up all variables from a
   derived context.
+- Added an `in` test that works like the in operator.  This can be used
+  in combination with `reject` and `select`.
 
 Version 2.9.5
 -------------
index e4129658ad6d79f9c05dc3abd439eb130eff7353..40b2b35a67d2f8bc8ff7036eb7e7c4088cf8ae99 100644 (file)
@@ -163,7 +163,10 @@ def test_lessthan(value, other):
 
 
 def test_in(value, seq):
-    """Check if value is in seq."""
+    """Check if value is in seq.
+
+    .. versionadded:: 2.10
+    """
     return value in seq