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 case the validator pertains to the form at large instead of
one of the fields. one of the fields.
TODO: what should the validator look like? :param validator: Callable which accepts ``(node, value)``
args.
:param validator: Callable validator for the node.
""" """
self.validators[key] = validator self.validators[key] = validator