Class f.a.Integer(Typed):

Part of formless.annotate View Source View In Hierarchy

Known subclasses: formless.annotate.FixedDigitInteger

Undocumented

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
204 Method coerce Coerce the input 'val' from a string into a value suitable

Inherited from Typed:

Line # Kind Name Docs
109 Method __init__ Undocumented
137 Method getAttribute Undocumented
Line # Kind Name Docs
109 Method __init__ Undocumented
204 Method coerce Coerce the input 'val' from a string into a value suitable
137 Method getAttribute Undocumented
def coerce(self, val, configurable): (source)

Coerce the input 'val' from a string into a value suitable for the type described by the implementor. If coercion fails, coerce should raise InputError with a suitable error message to be shown to the user. 'configurable' is the configurable object in whose context the coercion is taking place.

May return a Deferred.
API Documentation for Nevow, generated by pydoctor.