Skip to content

Commit ca5c228

Browse files
committed
Fixed doc blocks
1 parent 6434442 commit ca5c228

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎validators/__init__.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def truthy(value):
5050
5151
>>> assert not truthy(None)
5252
53-
.. versionadded: 0.2
53+
.. versionadded:: 0.2
5454
"""
5555
return (
5656
not value or
@@ -87,7 +87,7 @@ def number_range(value, min=None, max=None):
8787
The maximum value of the number. If not provided, maximum value
8888
will not be checked.
8989
90-
.. versionadded: 0.2
90+
.. versionadded:: 0.2
9191
"""
9292
if min is None and max is None:
9393
raise AssertionError(
@@ -128,7 +128,7 @@ def length(value, min=None, max=None):
128128
The maximum length of the string. If not provided, maximum length
129129
will not be checked.
130130
131-
.. versionadded: 0.2
131+
.. versionadded:: 0.2
132132
"""
133133
if (min is not None and min < 0) or (max is not None and max < 0):
134134
raise AssertionError(

0 commit comments

Comments
 (0)