From da13254caa1a181fb66fd5d1b21f4a414951203a Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 29 Oct 2023 15:10:56 -0500 Subject: [PATCH] Tweak param docs for `Form.set_validator()` --- tailbone/forms/core.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tailbone/forms/core.py b/tailbone/forms/core.py index 2c23b126..e04126a3 100644 --- a/tailbone/forms/core.py +++ b/tailbone/forms/core.py @@ -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