summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWieland Hoffmann <themineo@gmail.com>2016-10-30 21:01:18 +0100
committerWieland Hoffmann <themineo@gmail.com>2016-10-30 21:01:18 +0100
commitc3136c4449e5651f231468ca3628c55da6c327cc (patch)
tree07d743c0d59446c3133bcef744fb84188dc18b15
parentc6080c7975c944cbeb671aaa635e63e625ab3ac4 (diff)
downloadvoluptuous-c3136c4449e5651f231468ca3628c55da6c327cc.tar.gz
Clamp: add a blank line to the docstring for proper rendering
-rw-r--r--voluptuous/validators.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/voluptuous/validators.py b/voluptuous/validators.py
index 6a2f88d..f7ef2da 100644
--- a/voluptuous/validators.py
+++ b/voluptuous/validators.py
@@ -519,6 +519,7 @@ class Clamp(object):
"""Clamp a value to a range.
Either min or max may be omitted.
+
>>> s = Schema(Clamp(min=0, max=1))
>>> s(0.5)
0.5