summaryrefslogtreecommitdiff
path: root/src/mailman/rules/docs/truth.rst
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rules/docs/truth.rst')
-rw-r--r--src/mailman/rules/docs/truth.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mailman/rules/docs/truth.rst b/src/mailman/rules/docs/truth.rst
new file mode 100644
index 000000000..c715b98aa
--- /dev/null
+++ b/src/mailman/rules/docs/truth.rst
@@ -0,0 +1,10 @@
+=====
+Truth
+=====
+
+This rule always matches. This makes it useful as a terminus rule for
+unconditionally jumping to another chain.
+
+ >>> rule = config.rules['truth']
+ >>> rule.check(False, False, False)
+ True