diff options
| author | Alec Thomas <alec@swapoff.org> | 2010-07-20 13:42:02 +1000 |
|---|---|---|
| committer | Alec Thomas <alec@swapoff.org> | 2010-07-20 13:42:02 +1000 |
| commit | b95cf535b35f538e6f192c48adc9279e029fe9a6 (patch) | |
| tree | a5f57e868ed9d71eccb5ce27ddd441a44c6e847d /voluptuous.py | |
| parent | 5ac33a52da929661a862acddb29c65ae85539db2 (diff) | |
| download | voluptuous-b95cf535b35f538e6f192c48adc9279e029fe9a6.tar.gz | |
Bump version to 0.2.0.2
Diffstat (limited to 'voluptuous.py')
| -rw-r--r-- | voluptuous.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/voluptuous.py b/voluptuous.py index c3091ec..e246cd2 100644 --- a/voluptuous.py +++ b/voluptuous.py @@ -8,7 +8,6 @@ # # Author: Alec Thomas <alec@swapoff.org> - """Schema validation for Python data structures. Given eg. a nested data structure like this: @@ -88,7 +87,7 @@ import urlparse __author__ = 'Alec Thomas <alec@swapoff.org>' -__version__ = '0.1' +__version__ = '0.2' class Undefined(object): @@ -463,7 +462,8 @@ def any(*validators, **kwargs): :param msg: Message to deliver to user if validation fails. :returns: Return value of the first validator that passes. - >>> validate = Schema(any('true', 'false', all(any(int, bool), coerce(bool)))) + >>> validate = Schema(any('true', 'false', + ... all(any(int, bool), coerce(bool)))) >>> validate('true') 'true' >>> validate(1) |
