Skip to content

Commit 6840e1a

Browse files
author
Sylvain MARIE
committed
minor docstring improvements
1 parent 20d91ce commit 6840e1a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

valid8/entry_points_annotations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ def __init__(self,
127127
[mini_lambda](https://smarie.github.io/python-mini-lambda/) expressions can be used instead
128128
of callables, they will be transformed to functions automatically.
129129
:param error_type: a subclass of ValidationError to raise in case of validation failure. By default a
130-
ValidationError will be raised with the provided help_msg
130+
ValidationError will be raised with the provided help_msg
131131
:param help_msg: an optional help message to be used in the raised error in case of validation failure.
132132
:param none_policy: describes how None values should be handled. See `NonePolicy` for the various possibilities.
133-
Default is `NonePolicy.VALIDATE`, meaning that None values will be treated exactly like other values and follow
134-
the same validation process.
133+
Default is `NonePolicy.VALIDATE`, meaning that None values will be treated exactly like other values and
134+
will follow the same validation process.
135135
:param kw_context_args: optional contextual information to store in the exception, and that may be also used
136-
to format the help message
136+
to format the help message
137137
"""
138138
error_type, help_msg, none_policy = pop_kwargs(kwargs, [('error_type', None),
139139
('help_msg', None),

0 commit comments

Comments
 (0)