From 7b07239333a571cb25eec3d589cc56ea56453f9e Mon Sep 17 00:00:00 2001 From: Antoine Leclair Date: Tue, 14 Jun 2016 21:46:35 -0400 Subject: [PATCH] Add note about deprecated parameter in docstring --- colander/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/colander/__init__.py b/colander/__init__.py index 949a36d..41ce3d9 100644 --- a/colander/__init__.py +++ b/colander/__init__.py @@ -282,6 +282,8 @@ class Function(object): The default value for the ``msg`` when not provided via the constructor is ``Invalid value``. + + The ``message`` parameter has been deprecated, use ``msg`` instead. """ def __init__(self, function, msg=None, message=None): self.function = function