Skip to content

Commit

Permalink
Clamp: add a blank line to the docstring for proper rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
mineo committed Oct 30, 2016
1 parent c6080c7 commit c3136c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions voluptuous/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3136c4

Please sign in to comment.