You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ API
35
35
36
36
Each validator in `validators` is a simple function that takes the value to validate and possibly some additional key-value arguments. Each function returns `True` when validation succeeds and ValidationFailure object when validation fails.
37
37
38
-
ValidationFailure class implements __bool__ method so you can easily check if validation failed with:
38
+
ValidationFailure class implements __bool__ method so you can easily check if validation failed:
39
39
40
40
::
41
41
@@ -65,7 +65,7 @@ ValidationFailure object also holds all the arguments passed to original functio
0 commit comments