Documentation for Int() wrong?

Felix Schwarz <felix.schwarz-S0/[email protected]>
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
Hi,

http://formencode.org/class-formencode.validators.Int.html states:
> Messages
> 
> badType:
>     The input must be a string (not a %(type)s: %(value)r)
> empty:
>     Please enter a value
> integer:
>     Please enter an integer value
> noneType:
>     The input must be a string (not None)
> 

Looking at the source code, I see only one message:
>     messages = {
>         'integer': _("Please enter an integer value"),
>         }

Does the Int validator raise the documented messages somewhere?

fs


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.