summaryrefslogtreecommitdiff
path: root/jinja2/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'jinja2/tests.py')
-rw-r--r--jinja2/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jinja2/tests.py b/jinja2/tests.py
index 37e6f31..6873b5a 100644
--- a/jinja2/tests.py
+++ b/jinja2/tests.py
@@ -42,14 +42,14 @@ def test_defined(value):
variable is not defined
{% endif %}
- See the ``default`` filter for a simple way to set undefined
+ See the :func:`default` filter for a simple way to set undefined
variables.
"""
return not isinstance(value, Undefined)
def test_undefined(value):
- """Like `defined` but the other way round."""
+ """Like :func:`defined` but the other way round."""
return isinstance(value, Undefined)