diff options
author | Wieland Hoffmann <themineo@gmail.com> | 2016-10-30 21:01:18 +0100 |
---|---|---|
committer | Wieland Hoffmann <themineo@gmail.com> | 2016-10-30 21:01:18 +0100 |
commit | c3136c4449e5651f231468ca3628c55da6c327cc (patch) | |
tree | 07d743c0d59446c3133bcef744fb84188dc18b15 | |
parent | c6080c7975c944cbeb671aaa635e63e625ab3ac4 (diff) | |
download | voluptuous-c3136c4449e5651f231468ca3628c55da6c327cc.tar.gz |
Clamp: add a blank line to the docstring for proper rendering
-rw-r--r-- | voluptuous/validators.py | 1 |
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 |