Class f.a.String(Typed):

Part of formless.annotate View Source View In Hierarchy

Known subclasses: formless.annotate.Password, formless.annotate.PasswordEntry, formless.annotate.Text

A string that is expected to be reasonably short and contain no newlines or tabs.

strip: remove leading and trailing whitespace.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
159 Method __init__ Undocumented
167 Method coerce Coerce the input 'val' from a string into a value suitable

Inherited from Typed:

Line # Kind Name Docs
137 Method getAttribute Undocumented
Line # Kind Name Docs
159 Method __init__ Undocumented
167 Method coerce Coerce the input 'val' from a string into a value suitable
137 Method getAttribute Undocumented
def __init__(self, *args, **kwargs): (source)
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.