From 93fcaea98115ce80e428198bbabe313b37ca1024 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Mon, 25 May 2015 12:19:23 +0200 Subject: [PATCH] Method documentation. --- src/scriptform.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scriptform.py b/src/scriptform.py index 80e9606..ea5c76d 100755 --- a/src/scriptform.py +++ b/src/scriptform.py @@ -395,7 +395,8 @@ class FormDefinition: def validate(self, form_values): """ - Validate all relevant fields for this form against form_values. + Validate all relevant fields for this form against form_values. Returns + a set with the errors and new values. """ errors = {} values = form_values.copy()