Skip to content

Commit

Permalink
Fixed exception
Browse files Browse the repository at this point in the history
  • Loading branch information
nareshnootoo committed Sep 28, 2016
1 parent 2135bd3 commit af74154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voluptuous/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ class Number(object):
>>> schema = Schema(Number(precision=6, scale=2))
>>> schema('1234.01')
1234.01
'1234.01'
>>> schema = Schema(Number(precision=6, scale=2, yield_decimal=True))
>>> schema('1234.01')
Decimal('1234.01')
Expand Down

0 comments on commit af74154

Please sign in to comment.