Skip to content

Commit

Permalink
Merge pull request #265 from antoineleclair/deprecated-param-docstring
Browse files Browse the repository at this point in the history
Add note about deprecated parameter in docstring
  • Loading branch information
tseaver committed Jun 15, 2016
2 parents 2b8cdb3 + 7b07239 commit afa5d64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions colander/__init__.py
Expand Up @@ -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
Expand Down

0 comments on commit afa5d64

Please sign in to comment.