Tweak param docs for Form.set_validator()

This commit is contained in:
Lance Edgar 2023-10-29 15:10:56 -05:00
parent fe4a178d43
commit da13254caa

View file

@ -742,9 +742,8 @@ class Form(object):
case the validator pertains to the form at large instead of
one of the fields.
TODO: what should the validator look like?
:param validator: Callable validator for the node.
:param validator: Callable which accepts ``(node, value)``
args.
"""
self.validators[key] = validator