diff options
| -rw-r--r-- | src/zope/schema/_field.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/zope/schema/_field.py b/src/zope/schema/_field.py index 6445da1..7ee034c 100644 --- a/src/zope/schema/_field.py +++ b/src/zope/schema/_field.py @@ -257,10 +257,7 @@ class Float(Real): class InvalidDecimalLiteral(ValueError, ValidationError): - - def __init__(self, literal): - super(InvalidDecimalLiteral, self).__init__( - "invalid literal for Decimal(): %s" % literal) + "Raised by decimal fields" @implementer(IDecimal, IFromUnicode) |
