Merge pull request #266 from bngsudheer/patch-1

validator() not avalidator()
This commit is contained in:
Michael Merickel 2016-06-23 23:38:15 -05:00 committed by GitHub
commit 263698173f
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ example this will *not* work:
This will result in::
TypeError: avalidator() takes exactly 3 arguments (2 given)
TypeError: validator() takes exactly 3 arguments (2 given)
However, if you treat the thing being decorated as a function instead of a
method (remove the ``self`` argument from the argument list), it will